~/talk

Introduction to statecharts

Talkat React Finland 2020 · 2020-05-28..12-02· [frontend-architecture, react]
slides:none on file

Demo builds a working drag‑and‑drop using xstate and React and the sandboxed code is linked, not just abstract theory. It uses the useMachine hook, context for pointer x/y and dx/dy, assign actions to update positions, a small CSS fix to make movement visible, nested states to lock axis with Shift, and connects the machine to the visualizer so state transitions are inspectable. Everything runs live in the demo with statecharts actually steering behavior.

AI-written summary · about

  1. 0:00Start
  2. 7:16Mouse Move
  3. 7:42Actions
  4. 14:09Css Variables
  5. 20:52Shift Events
  6. 22:37Add an Event Listener
  7. 26:05What Is the Difference between State Charts and State Machines
  8. 26:41Parallel States
  9. 34:10Reason for State Charts
  10. 40:08New Visualizer
~/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.