~/talk

Asynchronous JavaScript

Talkat MountainWest JavaScript 2014 · on Friday, 2014-03-21· [javascript, reactive-programming]
github:jhusain
slides:none on file

Claim: events are collections and treating them as such lets you apply array operators (map filter concatAll takeUntil switchLatest) to real UIs. Using Reactive Extensions (Rx) and its JavaScript and Java ports (rxjs rxjava) produces observable streams that resolve race conditions, cancel in-flight XHRs, and free subscriptions so memory leaks disappear. Examples include a working mouse-drag built from mouseDown/mouseMove/mouseUp and Netflix search autocomplete that throttles keystrokes and uses switchLatest cancels previous requests to keep results correct.

AI-written summary · about

  1. 0:00Start
  2. 0:17Gold Sponsors
  3. 3:01IN OBSERVER PATTERN
  4. 4:50Functions
  5. 7:12Top-rated Movies Collection
  6. 8:20Mouse Drags Collection
  7. 9:42Introducing Observable
  8. 11:53Event Subscription
  9. 18:12switch Latest
  10. 20:25Netflix Search
  11. 25:28Resources
~/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.