~/talk

Managing State in React Apps with RxJS

Talkat FrontCon 2019 · on Friday, 2019-04-05· [react, reactive-programming]
slides:none on file

Claims that RxJS can replace Redux + Redux Observable by running an app state as a BehaviorSubject and wiring React via a higher-order component connector and hooks, shows actions as functions that return observables and uses BehaviorSubject and RxJS exclusively as the single source of truth. A small proof-of-concept application is built and works, but profiling shows higher heap allocations and deeper call stacks (milliseconds slower) so performance is a real caveat; well suited for aggregating many real-time streams but not necessarily for every app.

AI-written summary · about

  1. 0:00Start
  2. 1:42Background
  3. 2:25What Even Is Rxjs
  4. 4:55Scan Operator
  5. 7:18Transforming a Click Event
  6. 8:00Switch Map Operator
  7. 12:08Cold Observable
  8. 13:39Subjects
  9. 14:46Redux Observable
  10. 18:39Live Demo
  11. 22:18Export an Upstate Binding
  12. 23:06React Hooks
  13. 28:33Compared to Redux
~/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.