~/talk

Tackling Component state Reactively

TalkinGermanat NG-BE 2019 · 2019-12-05..12-06· [angular, reactive-programming]
slides:none on file

Explains how to make component-local state reliable by treating it as reactive state with RxJS: use publishReplay + connect to warm streams in the constructor, provide services per component (local provider) so subscriptions are tied to the component lifecycle, and use replay/buffer caching so template bindings don’t miss the first value. Presents concrete code patterns for subscribing early and unsubscribing on destroy, selector-style select functions for local state, and reports these patterns reduce timing bugs and simplify subscription management in real applications.

AI-written summary · about

  1. 0:00Reactive state intro
  2. 6:47Core state problem
  3. 13:50Subscription timing issues
  4. 20:53Late subs and caching
  5. 24:11Reactive patterns
  6. 30:31Service-based state
  7. 35:03Summary
~/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.