~/talk

RxJS Best Practices Aren't Always Black and White

Talkat ng-conf 2022 · 2022-08-31..09-02· [angular, reactive-programming]
slides:none on file

Declares an action stream with a private Subject or BehaviorSubject and emits user selections to drive HTTP calls, uses switchMap for latest only when cancelling previous requests (typeahead or rapid selection), chooses concatMap when order matters for sequential writes, and uses forkJoin for HTTP one-and-done vs combineLatest or zip for different join semantics. Recommends async pipe to avoid manual unsubscribe, use higher‑order mapping operators instead of nested subscriptions, and catchError returning an observable that preserves the outer stream type.

AI-written summary · about

  1. 0:00Start
  2. 0:47Deborah Kurata
  3. 1:21Procedural vs Declarative
  4. 2:03Benefits
  5. 4:37Declare an Action Stream
  6. 5:43React to the Notification
~/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.