~/talk

Surprise! Svelte Secretly Sending Signals

Talkat Frontend Nation 2025 · 2025-06-03..06-05· [frontend-architecture, javascript]
slides:none on file

Svelte 5’s Runes are implemented as Signals and the code builds a tiny reactivity system that actually works: a Proxy with get/set traps records per-key reads, a global currentEffect wires functions to the exact keys they read, effects store their dependency sets and clean up before rerun, and updates are batched via a microtask queue to avoid sync re-runs that freeze inputs. The demo surfaces pitfalls like stale subscriptions and await-breaking dependency capture and shows the concrete fixes. Runes Signals

AI-written summary · about

  1. 0:00Introduction
  2. 1:25Live coding demo: reactivity basics
  3. 2:57Writable stores and observer pattern
  4. 4:22Reactivity with Proxy API
  5. 6:30Building a reactivity system with signals
  6. 9:04Optimizing signal dependencies per key
  7. 12:46Decoupling subscribe from writable store
  8. 14:12Tracking effects with currentEffect
  9. 17:24Fixing effect rerun dependencies
  10. 19:30Managing dependencies with sets
  11. 21:23Finalizing the signal system
  12. 22:06Scheduling effects asynchronously
  13. 24:39Recap and applications
  14. 26:26Question and answer session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.