References — fw-03 Reactivity: mini-vue and mini-signals
Primary sources first. Read the real implementation after you have written yours, never before.
Signals — the current convergence
- TC39 Signals proposal — the standardisation effort. The README is an unusually good explanation of the design space and the trade-offs between implementations.
- Preact Signals — small, readable, production
- Solid reactivity source —
createSignal,createEffect,createMemo; the reference implementation of fine-grained reactivity - Angular signals — the same primitive in a different framework, worth comparing
Vue's reactivity
@vue/reactivitysource —reactive.ts,effect.ts,ref.ts,computed.ts. Readeffect.tsfirst: dependency tracking is the whole idea.- Vue docs — Reactivity in depth — with diagrams
- Vue 3 reactivity from scratch — Vue's own comparison to signals
Design essays worth reading
- Ryan Carniato — A Hands-on Introduction to Fine-Grained Reactivity
- Rich Harris — Rethinking reactivity — the compiler-based alternative (fw-06)
- Glitch-free propagation — why naive push-based reactivity produces inconsistent intermediate states, and what it costs to avoid
Related modules
- fw-02 — mini-react core — the VDOM model this one competes with
- fw-05 — Vue renderer — reactivity plus a renderer
- fw-06 — Compilers — the third answer: do it at build time
- fe-13 — Reactivity models compared (planned) — the architectural comparison
When a claim here proves stale, record it in PROGRESS.md section 7.