~/talk

The Actor Model: a new mental model for React

Talkat React Finland 2021 · 2021-08-30..09-03· [frontend-architecture]
slides:none on file

Argues that applying the Actor Model to React moves integration bugs to explicit message sequences and makes state interactions observable and testable, demonstrated with a concrete markdown editor example (editor, preview, source, auth, notifications) and sequence diagrams for read/save/compile flows; shows implementations with xstate and plain promises/observables, notes web workers map to actors, highlights dynamic spawning to exclude auth/editor in an embedded mode, and quantifies complexity: six^six (~46k) possible messages versus four^four (256) or three^three (27), and reports rehydrate support as work in progress.

AI-written summary · about

  1. 0:00Introduction
  2. 6:56Application
  3. 14:29Models
  4. 17:19Complexity
  5. 18:54Recap
  6. 20:19Advantages
  7. 22:14Additional Resources
  8. 22:27Thank you
  9. 22:43clapping
  10. 27:08Event Bus
  11. 30:14XState
  12. 30:45Observables and Actors
  13. 32:05State Charts
  14. 33:41State Overkill
  15. 35:56Takeaways
~/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.