~/talk

Tackle React component complexity using Reactive Statecharts

Talkat reactjsday 2019 · on Friday, 2019-10-04· [react, frontend-architecture]
slides:none on file

Claim: model component behavior with Reactive Statecharts (XState) so the component becomes a serializable, visual state machine that exposes concrete transitions instead of scattered booleans. Examples: debounced input with cancellation, mutual‑exclusion form states and a carousel with autoplay pause history and animation. Implementation uses JSON statecharts, invoked services for async cancellation, conditional transitions to avoid combinatorial explosion, and machine-driven entry/exit for cleanup. Machines stay implementation detail and the rendered component works and reuses the same logic across platforms.

AI-written summary · about

  1. 0:00Start
  2. 5:37Confusion
  3. 7:49Let's talk about Behaviour
  4. 19:08State # State
  5. 21:20Debouncing input
  6. 25:35Cancellation
  7. 27:32Mutual Exclusivity
  8. 30:10Example 4 Underestimating the complexity growth
  9. 32:53Cyclic Carousels
  10. 40:13End user doesn't care if you're using state machines
~/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.