Skip to main content

Reactivity and signals: demystifying frontend magic

Frontend reactivity can be described as a graph of dependencies that connects state, computed values, and effects. This talk uses the equation ui = fn(state), an Excel analogy, and the alien-signals library to explain how changes propagate through that graph.

The presentation introduces directed acyclic graphs, topological sorting, and doubly linked lists before examining signal getters, subscribers, push and pull propagation, and effect execution. It ends by connecting these ideas to Vue's component scopes and reactive rendering.

Enjoyed "Reactivity and signals: demystifying frontend magic"?

Follow me

Estéban Soubiran

Software engineer, conference speaker, and open source enthusiast.

Explore more talks

  1. Event: L'Atelier (opens in a new tab)ParisDate:

    Inside a pipeline: demystifying Vite and its plugins

  2. Event: Takima (opens in a new tab)ParisDate:

    Inside a pipeline: demystifying Vite and its plugins

  3. Event: Node.js Paris (opens in a new tab)ParisDate:

    You don't need these new Node.js APIs

What do you think?

Discussions

Loading discussions...

Add a comment

Checking your session...