~/talk

I switched a map, and you’ll never guess what happened next…

Talkat NGConf 2018 · on Wednesday, 2018-04-18· [angular, reactive-programming]
slides:none on file

A concrete demo builds an autocomplete component from an observable stream of tweets and agencies, showing code that maps each tweet to an agency then to an observable of recruits, subscribes, and flattens. The talk shows real RxJS code replacing nested subscribes with switchMap, explains that it unsubscribes from the previous recruits observable before subscribing to the new one, and runs the app so the switch behavior and bug fix are visible and working.

AI-written summary · about

  1. 0:00Introduction
  2. 1:51Kevin and framework obsession
  3. 5:27SwitchMap with CEO analogy
  4. 7:39Tweets to recruits with observables
  5. 10:50Nested observables and flattening
  6. 13:29Need for flattening strategy
  7. 14:34Implementing switch strategy
  8. 16:44Introducing switchMap
  9. 18:10How switchMap works
  10. 19:23Conclusion
  11. 20:27Final remarks
~/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.