Signal Boosting
summary
Demo replaces Context with Zustand and then with a signals layer (from Solid.js / Preact signals) to avoid full virtual DOM recomputes, using a 100-box demo where animation jitter disappears because signals attach listeners to DOM nodes and only the targeted box updates. Implementation shows per-number signals driving DOM changes directly, cutting main-thread reconstruction and giving a measurable speedup for large trees. Not a universal fix but works well for editors; used to build a rich text editor where fine-grained bold/underline updates stop triggering global re-renders.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 0:51Virtual DOM limitations
- 2:36Store and listeners example
- 4:44Virtual DOM overhead issue
- 6:50Context-based animation demo
- 8:57Zustand state management
- 10:43How signals work
- 12:27Signal implementation demo
- 13:49Conclusion and resources
related talks
31mAre Signals Worth the Hype?
30mAre Signals worth the hype?
28mSignals: What, How, and Why!
17mSupercharging React Performance with JavaScript Signal Optimisation
34mRendering Dilemma: Reacting to State Change
06mEmbracing Reactivity: Signals Unveiled in Modern Web Frameworks
29mRevolutionary Signals
17mDissecting Reactivity Signals Vs vDOM
