~/talk

The Magic and Mystery of Angular Change Detection

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

Explains how Angular compiles templates into create/update functions that shallow-diff bindings and always start change detection at the root, how zone.js patches browser APIs to trigger full top‑down checks, how onPush components raise dirty flags so only paths are checked, and how the RFC for signals promises signal components run local updates without Zone by tracking reads so only affected views update. Shows concrete mechanics (compiled instruction functions, microtask timing, parent flag propagation) and tradeoffs for performance.

AI-written summary · about

  1. 0:00Angular change detection intro
  2. 1:04Why learn change detection
  3. 2:49Change detection example
  4. 3:53How Angular compiles components
  5. 5:58Create vs update mode
  6. 7:22Triggering with Zone.js
  7. 9:53Zone.js event monitoring
  8. 11:16Component tree traversal
  9. 12:41Default vs on push
  10. 14:06On push efficiency
  11. 15:29Future with signals
  12. 17:17Signal components
~/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.