~/talk

How to cook with RxJS

Talkat Armada JS 2019 · on , 2019-09-00· [reactive-programming, javascript]
slides:none on file

Explains RxJS by building a working browser game called rxjs chef where food falls and a basket collects it, using concrete operators: fromEvent/interval merge for input and time, map/filter/scan reduces state to ~20 lines of game logic, plus takeWhile for teardown and delay/preload for UX. Demonstrates hot vs cold observables, shows cancellation beats promises for controllable requests, notes the library has “a hundred‑something” operators and that the demo runs successfully in the browser.

AI-written summary · about

  1. 0:00Intro
  2. 2:11How I got acquainted with RxJS
  3. 5:10What is RxJS
  4. 5:40Functional Programming
  5. 6:19Functional Scrambled Eggs
  6. 10:04Observer Pattern
  7. 12:41Observables
  8. 13:44Cold vs Hot Observables
  9. 16:58RxJS Chef
  10. 17:49Transparent Canvas
  11. 19:34GameState
  12. 20:39GameRender
  13. 21:24Listen to keyboard clicks
  14. 22:14Keyboard events
  15. 22:54Mapping events
  16. 23:22Game actions
  17. 24:09Testing
  18. 24:59Filters
  19. 25:32GameAction
  20. 25:59Scan Operator
  21. 26:57Move Food
  22. 27:59Move Down
  23. 28:29Merge observables
  24. 29:35Refresh rate
  25. 30:09Preload images
  26. 30:32Calculate state
  27. 31:59Is the game over
  28. 32:34Killing observables
  29. 33:49Delaying the intro
  30. 34:19Condensed logic
  31. 34:39Tetris
  32. 35:06Source code
  33. 35:54Questions
  34. 41:09Conclusion
~/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.