~/talk

Angular 2 Change Detection Explained

Talkat NG-NL 2016 · 2016-02-17..02-18· [angular]
slides:none on file

Explains how Angular 2 uses Zones (NgZone subscribes to onTurnDone → tick) to trigger a top‑to‑bottom, single‑pass change detection, and how the framework generates runtime monomorphic change‑detector classes for VM speed (claims up to 10× faster than Angular 1 and hundreds of thousands of checks in milliseconds). Shows demos with a 17‑component tree that skip entire subtrees using OnPush + immutable.js or observables (mark path‑to‑root), and how to detach/reattach change detector for manual control.

AI-written summary · about

  1. 0:00Introduction
  2. 1:38What is change detection
  3. 8:41How zones work
  4. 19:40Change detection in Angular 2
  5. 23:53Performance optimizations
  6. 27:00Immutable data structures
  7. 35:23Observable data streams
  8. 40:21Manual change detection control
  9. 44:15Q&A
~/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.