~/talk

Angular 2 change detection explained

Talkat RuhrJS 2016 · 2016-07-02..07-03· [angular]
slides:none on file

Angular 2 claims change detection is extremely fast by generating VM‑friendly per‑component change detector code and running a single top‑down pass after async work. It uses ZonesJS to monkey‑patch async APIs so NG Zone calls tick, supports OnPush with immutable inputs to skip subtrees, and uses observables plus ChangeDetectorRef.markForCheck to reopen paths. Demos show skipping a subtree in a 17 components tree and performing hundreds of thousands of checks in milliseconds.

AI-written summary · about

  1. 0:00Start
  2. 1:04CHANGE DETECTION?
  3. 13:31WHAT THE HECK IS THE EVENT LOOP ANYWAY?
  4. 22:02SMARTER CHANGE DETECTION
  5. 29:03OBSERVABLES
  6. 31:46DEMO
~/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.