Version: XState v4
XState basics
Learn the basics of XState.
What is a statechart?
An XState cheatsheet for statechart basics, including installation, states, initial states, transitions and events, and TypeScript.
Options
The statechart’s config describes how the machine behaves, the machine’s options are implementation details that expand the machine’s capabilities.
Inline vs. named Options
Named actions are when you pass options into the config using names. You can also declare your actions inline without names.