Reactivity on three axes
The outline. No tables were harmed.
-
Depth: what's the smallest change noticed?
- Shallow: reassign to update (React, Lit, signals)
- Deep: proxies catch nested writes (Vue, MobX, Solid stores)
-
Granularity: how narrow is the update?
- Coarse: window or subtree (Zone.js, React)
- Fine: one DOM node (signals, Solid, Svelte 5)
-
Direction: pushed to dependents or pulled at render?
- Pull: re-render top down (React, Lit, Angular)
- Push-pull: signals, with scheduling to avoid glitches
- Push: Svelte 4, about as close as anyone gets
-
Takeaways
- Detection and response are separate concerns
- Every system has an escape hatch
- Fine-grained frameworks converge: read to subscribe, write to notify
- The diamond problem decides push vs. pull