Persistent data structures - good for UI
summary
Argues that using ClojureScript immutable data structures on the client gives cheap, shareable history so UIs can keep every state without full copies, demonstrated by replaying an 88‑move chess game and stepping to any move. Shows integration with React.js diffing where immutable nodes allow reference‑equality checks and claim ~6× speedups in some cases. Mentions core.async go channels for world events and a tiny state management API (reset/swap) that records and replays app state.
AI-written summary · about
chapters (6)
- 0:00Modeling state in UI
- 4:42Immutable data benefits
- 7:18React and virtual DOM
- 11:23Value snapshots in time
- 14:39ClojureScript in practice
- 22:41Architectural takeaways
related talks
33mThe Functional Final Frontier
35mClojureScript & User Interfaces: Simplicity yields Possibilities
27mThe Functional Final Frontier
29mDesign decisions in React-based ClojureScript applications
32mElectric Clojure Differential Dataflow for UI (KEYNOTE)
34mFunctional UIs and Unidirectional Dataflow
34mImmutability: Putting The Dream Machine To Work
37mVisualizing Persistent Data Structures
