~/talk

Complex Features Made Easy With RxJS

Talkat JSFoo 2018 · on Saturday, 2018-10-27· [reactive-programming, angular]
name:Ben Lesh
github:benlesh
slides:none on file

Angular + RxJS code adds an automatic polling reload via timer and a pull down to update UI that coordinates touchstart/touchmove/touchend events, HTTP (shared get()), animations (tween on animation frames) and state. Implementation uses BehaviorSubject to trigger loads, switchMap/exhaustMap to manage requests, concat/repeat to replay flow, and takeUntil/endWith to stop spinners — the full feature composes reactively in about 50 lines of code instead of a brittle imperative mess.

AI-written summary · about

  1. 0:00Intro
  2. 1:15Observables
  3. 11:12App Structure
  4. 13:29Update Interval
  5. 17:27Pulldown to Reload
  6. 21:20Transform Positions
  7. 22:58Touch Drag
  8. 24:53Animation
  9. 27:40Refresh
  10. 29:02Position
  11. 30:37Repeat
  12. 31:24Rotation
  13. 32:06Spinning
  14. 33:34Summary
~/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.