Be Predictable, Not Correct.
summary
Argues that predictability beats chasing correctness by using referential transparency and immutability to make UIs reliable, and that react's virtual DOM proves the idea: it treats user code as a black box, diffs render output, and works in production at Facebook/Instagram. Contrasts with KVO/Ember and Angular dirty‑checking, shows a 10,000‑item worst case where Ember is sub‑millisecond, naive virtual DOM ≈40ms, and an optimized hinted virtual DOM drops to 7 milliseconds, trading CPU for much lower memory.
AI-written summary · about
chapters (15)
- 0:00Start
- 3:39How do we make Uls more reliable?
- 4:34Data binding is a polyfill for reactive JavaScript/DOM
- 5:12Contemporary data binding isn't simple.
- 7:03Simple !== familiar
- 7:24Key-Value Observation
- 7:41Observables & Computed Properties
- 18:53Stateful DOM!
- 22:46Data binding systems are not statically analyzable.
- 24:26Render code is usually cheap.
- 24:57Your view is usually smaller than your model.
- 28:19Worst case scenarios
- 29:34with virtual DOM?
- 31:46The secret of the virtual DOM
- 32:56Performance is not the main goal of virtual DOM!








