~/talk

Adding Reactivity to your Web Apps using RxJS

Talkat QCon São Paulo 2018 · 2018-05-09..05-11· [react, javascript]
name:Ben Lesh
github:benlesh
slides:none on file

Adds a timed auto-refresh and a working drag down to refresh to an Angular app using RxJS. Builds a TouchDragToLoad component that wires touchstart/touchmove/touchend via fromEvent, derives positions, uses behavior subject + timer to trigger reloads, uses defer, concat, takeWhile, repeat and an animation tween observable to spin and animate home, shares HTTP observables to avoid duplicate requests, fits the feature into roughly 50 lines of reactive code, and the demo works end-to-end.

AI-written summary · about

  1. 0:00Introduction to RxJS
  2. 11:53Analyzing the base application
  3. 15:15Implementing auto-refresh
  4. 20:30Building the UI component
  5. 27:34Adding touch interaction
  6. 35:45Completing the feature
  7. 42:41Conclusion and Q&A
~/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.