Series
Reactivity
Signals, dependency graphs and scheduling: the bookkeeping every reactive library performs, and where Solid, Vue, Svelte and Preact diverge.
- Parts
- 2
- 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.