~/talk

Go Reactive with Angular Signals

Talkat ng-conf 2023 · 2023-06-14..06-15· [angular]
slides:none on file

Signals arrive in Angular v16 developer preview and claim finer-grained reactivity and improved change detection by treating state as a writable box with get/set/update/mutate, computed values that are memoized and lazy (recompute only when read), and effects for side effects. Interop uses toSignal and toObservable, but toSignal yields a read-only signal so a demo of a users→tasks UI must fall back to creating a writable signal plus an effect and manual subscribe/unsubscribe to make updates work.

AI-written summary · about

  1. 0:00Angular Signals intro
  2. 1:52Why reactivity matters
  3. 2:56Creating signals
  4. 5:25Reading and modifying signals
  5. 7:34Signals as dependencies
  6. 9:41Signals vs Observables
  7. 12:29Computed signals power
  8. 14:17Using effects
  9. 15:19Signals in templates
  10. 18:53Reactive data fetching
  11. 21:19Limitations of toSignal
  12. 23:26Best practices for signals
  13. 24:32Signals vs Observables
~/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.