This talk explains frontend reactivity through dependency graphs, signals, computed values, and effects. It uses alien-signals to show how a change in a signal reaches the computations and effects that depend on it.
The examples cover graph traversal, doubly linked lists, push and pull propagation, and the implementation of signal getters, computed values, and effects. The final section relates this low-level model to Vue's component update mechanism.
Enjoyed "Reactivity and signals: demystifying frontend magic"?
Discussions
Loading discussions...
Add a comment
Checking your session...