~/talk

No Zone, No Problem - Building Angular Apps without Zone.js

Talkat angularday 2025 · on Friday, 2025-11-21· [angular, frontend-architecture]
links:none on file
slides:none on file

Angular claims zoneless is stable since 20.2 and becomes the default in Angular 21, shaving about 33 KB from bundles and removing automatic global change detection. The demo migrates an Angular app: remove zonejs, swap to zoneless change detection, fix broken updates caused by setInterval by replacing it with signals + async pipe + markForCheck, and verify triggers (bound events, input sets, HTTP resource) while noting timers and raw observables do not trigger change detection. The migration ultimately works after those fixes.

AI-written summary · about

  1. 0:00Angular without Zone.js
  2. 1:11Demo app and Zone.js role
  3. 3:22Zone.js triggers change detection
  4. 6:35Default vs OnPush explained
  5. 8:49Switching to OnPush
  6. 12:06Optimizing with markForCheck and async pipe
  7. 14:21Using Signals for reactivity
  8. 15:46Mixed change detection strategies
  9. 18:45Signals and local change detection
  10. 20:35Zoneless setup
  11. 22:06Migrating to zoneless
  12. 23:56Triggers in zoneless apps
  13. 25:05Demo in zoneless mode
  14. 27:12Fixing errors and finalizing
  15. 27:55Farewell to Zone.js
~/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.