Cursors Illustrated: Collaborative sketching
summary
Claims that cursors from OM make immutable state practical in JavaScript and that pairing immutability with React.js cuts wasted renders, with a concrete example showing 10,000-item lists causing 10,000 renders versus one real DOM change. Demonstrates code patterns (concat vs push), builds a small to‑do app wiring cursors with a callback, and shows replayable application state so the approach actually reduces renders and makes one‑way data flow tractable.
AI-written summary · about
chapters (10)
- 0:00Thinking through sketching
- 2:19Functions as black boxes
- 3:40The evolution of web apps
- 5:21React and component architecture
- 7:55Performance and virtual DOM
- 11:05Immutability and references
- 14:06Immutable operations
- 16:12One-way data flow
- 19:22Cursors for data management
- 22:08Conclusion and collaboration
related talks
34mA Cartoon Guide To Performance in React
30mA Cartoon Guide to Performance in React
32mRefracting React
36mCreative Coding with React & SVG
34mFunctional UIs and Unidirectional Dataflow
29mEvolving the Visual Programming Environment with React
30mD3 and React, Together
31mUnderstanding Rendering Patterns
