~/talk

Angular and The Case for RxJS

Talkat NDC London 2020 · 2020-01-27..01-31· [angular]
slides:none on file

Explains why RxJS is practical with Angular by showing working code: a type‑ahead with debounceTime and distinctUntilChanged that clarifies streams versus promises, an observable data service using a BehaviorSubject store that components subscribe to, and the template patterns that avoid duplicated HTTP requests — async pipe (which auto‑unsubscribes) or ngIf ... async as instead of multiple async pipes. Covers hot vs cold, subjects, share vs shareReplay, and flattening operators (switchMap/mergeMap/concatMap), with concrete fixes for duplicated calls and teardown.

AI-written summary · about

  1. 0:00Start
  2. 9:58COLD OBSERVABLES
  3. 15:48BehaviorSubject
  4. 22:00HTTP OBSERVABLES ARE COLD
  5. 27:12HOT: SHARE THE EXECUTION COLD: INVOKE THE EXECUTION
  6. 33:14map() A TRANSFORMATIONAL OPERATOR
  7. 36:45A FILTERING OPERATOR
  8. 37:56AVOID NESTED SUBSCRIPTIONS
  9. 45:20EMITS ARRAY OF VALUES FROM SOURCES
  10. 50:29catchError() AN ERROR HANDLING OPERATOR
~/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.