~/talk

RxJS Recipes

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

Concrete recipes for RxJS with a working demo: a "World of Jokes" app that polls an API every 5s using timer + exhaustMap and shareReplay (the repeater pattern), caches results, and only swaps visible jokes when the user clicks an update (enrichment via withLatestFrom). It shows a notification only after the second refresh (skip(1)), manages settings as a BehaviorSubject + scan, toggles polling with switchMap, and implements retry-on-error vs wait-for-online logic; all patterns are composable and demonstrated live.

AI-written summary · about

  1. 0:00Intro
  2. 3:36Different Levels of Patterns
  3. 4:45World of Jokes
  4. 7:31Identifying Patterns
  5. 8:40Requirement #1
  6. 9:26Application Architecture
  7. 11:56Repeater
  8. 12:36Requirement #2
  9. 15:46Pattern #2
  10. 16:15Requirement #3
  11. 19:32Group Aggregator
  12. 23:21Requirement #4
  13. 23:33State Manager
  14. 24:09Requirement #5
  15. 28:13Pattern #5
  16. 28:51Requirement #6
  17. 31:45Key Takeaway's
~/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.