XState
- Category
- Frameworks and libraries
- Docs outline
- 14 sections
Official docs outline
stately.ai- State machines and statecharts
The finite state machine and statechart models that XState implements.
- State machines and setup
Creating machines with createMachine and setup(), typing and implementations.
- States
State nodes, initial states, finite, compound and parallel states.
- Context
Storing extended state in context and updating it with assign.
- Events and transitions
Event-driven transitions, targets, self-transitions and transition resolution.
- Actions
Entry, exit and transition actions, assign, raise, sendTo and enqueueing effects.
- Guards
Conditional transitions with guards and guard composition.
- Parallel, final and history states
Orthogonal regions, final states and output, and history pseudo-states.
- Actors
Actor logic types, creating actors, sending events and subscribing to snapshots.
- Invoke and spawn
Running child actors for the lifetime of a state with invoke, or dynamically with spawn.
- Persistence
Saving and restoring actor state with persisted snapshots.
- Inspection and testing
Inspecting actor systems and testing machines, including model-based testing.
- TypeScript
Typing machines, context, events and implementations.
- XState Store
The lightweight store for simple state management with the same event-driven model.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.