~/talk

RxJS destroy the state machine

links:none on file
slides:none on file

A team replaces a massive state machine with RxJS-driven event streams, turning DOM, media loading and real‑time messages into composable observables that eliminate callback‑hell and common memory leaks. Code uses takeUntil and debounce/buffer operators to cancel and group events, integrates promises for single values, and verifies behavior with a simulated test scheduler and marble testing. Resulting platform is smaller, easier to test, and reliably cleans up subscriptions so flows stop when expected.

AI-written summary · about

  1. 0:00Start
  2. 2:49Callback hell
  3. 3:54Error handling - no try-catch
  4. 4:32memory leaks, race conditions
  5. 5:24What is Reactive programming?
  6. 7:05The Microsoft definition
  7. 7:35The Stack Overflow
  8. 10:12Array and Events are Collections
  9. 12:49Streams are functional They can be Mapped
  10. 14:09Streams can be completed
  11. 16:14Streams are observables because they are observed
  12. 21:48Show me the code!
  13. 23:54What about memory leaks?
  14. 25:35Coming back to the first example
  15. 27:38A short demo about Javascript
  16. 29:10Testing example
  17. 30:58Marble Testing(Rx 5 only) you love testing with diagrams
  18. 32:35Debugging
  19. 34:03Rx revolution
~/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.