~/talk

Change Detection, Zone.js and Other Monsters

TalkinItalianat Angular Day 2018 · on Thursday, 2018-06-14· [angular, javascript]
slides:none on file

Describes how Angular performs change detection, showing concrete code, demos and profiler timings. Covers Zone.js monkey-patching of async APIs to trigger change detection, using ChangeDetectorRef methods (detach, markForCheck, detectChanges) and runOutsideAngular to avoid unnecessary cycles, and when OnPush needs immutable data or explicit events. Includes a live demo toggling detection on a component and examines Ivy’s per-component compilation claim and its actual effects on bundles and runtime.

AI-written summary · about

  1. 0:00Introduction
  2. 3:23Frameworks help apps
  3. 8:01State to UI sync
  4. 12:58Angular change detection
  5. 22:34Optimizing change detection
  6. 33:39Zone.js async events
  7. 49:52Zone.js optimizations
  8. 50:13Angular Ivy rendering
  9. 1:01:00Q&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.