Series
Reactivity
Signals, dependency graphs and scheduling: the bookkeeping every reactive library performs, and where Solid, Vue, Svelte and Preact diverge.
- Parts
- 3
- Latest
- №01
FrameworksSignals Are Not Magic: The Dependency Graph Underneath
Every signals library is the same forty lines of bookkeeping. Here is what those lines do, and where the four popular implementations diverge.
- №02
FrameworksYour Reactive Graph Computed 4,11. That State Never Existed.
A single-pass push through a diamond recomputes the leaf twice, and the first result mixes a fresh value with a stale one. Two passes are what remove it.
- №03
FrameworksThe React Compiler Wrote You a Seven-Slot Cache
The compiler's output is a slot array and a chain of guarded assignments. Reading one compiled component explains what it caches, what it skips, and when it declines.