~/talk

Building with Ivy: rethinking reactive Angular

Talkat AngularConnect 2019 · 2019-09-19..09-20· [angular, reactive-programming]
slides:none on file

Claim: Ivy plus a small library can let Angular components subscribe to a dictionary of observables, update the view without async pipes, and run without zone.js. Implementation uses Ivy's markDirty to schedule change detection, a higher-order base class that exposes connect and composes lifecycle events (onInit then onDestroy) with observables, and TypeScript mapped types to infer an observable dictionary. Demo: a counter app increments via scan, subscriptions are auto-cleaned, prototype works but markDirty is an unstable API.

AI-written summary · about

  1. 0:00Intro
  2. 0:31Improving the experience for developers
  3. 2:28Mike Ryan
  4. 3:06Goals for improving reactivity
  5. 3:34How change detection works
  6. 4:15Zones
  7. 6:02Benefits
  8. 6:29Component level state
  9. 8:24Example App
  10. 9:32Turning off Zones
  11. 9:53Change Detection
  12. 10:49Mark Dirty
  13. 11:23What does Mark Dirty do
  14. 12:16What is Root Context
  15. 13:58Why use higherorder components
  16. 14:24Building with inheritance
  17. 14:58Building with reactive component
  18. 15:33Open source library author
  19. 15:52Inference
  20. 17:02Implement Connect
  21. 17:52Implement MarkDirty
  22. 18:42Troubleshooting
  23. 19:51Creating an Observable
  24. 20:35Updating the Observable
  25. 21:37Running the App
  26. 23:09New Initiative
~/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.