~/talk

How Signals shape a Pull-based architecture

Talkat NG-BE 2024 · 2024-12-05..12-06· [angular, frontend-architecture]
slides:none on file

Claims that switching to Signals plus Angular Change Detection produces a pull-based architecture where reads are synchronous and writes schedule asynchronous updates. Shows concrete swaps: computed replaces combineLatest and the async/|ngIf| pipe for synchronous state derivation; introduces link signal introduced in v19 for writable inputs and a resource pattern (idle|loading|error) for async state. Framework coalesces dirtiness, schedules updates via timers/RAF, re-renders only dirty components, and avoids glitches and repeated recomputation.

AI-written summary · about

  1. 0:00Introduction
  2. 1:11Signals vs observables debate
  3. 2:35Talk overview
  4. 3:50Sync vs async signals
  5. 6:10Change detection in Angular
  6. 9:49Push-based challenges
  7. 11:38Signals in templates
  8. 13:25Reactive tree and glitches
  9. 16:11UI as state function
  10. 18:41Effects vs derivation
  11. 21:08Sync derivation with signals
  12. 23:23Async derivation with resources
  13. 24:49Reactivity tree in components
  14. 25:53Pull-based benefits
  15. 27:17Summary
~/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.