Version: XState v5
Core concepts
Learn the core concepts for XState and Stately Studio.
State machines
State machines help us model how a process goes from state to state when an event occurs.
Actor model
When you run a state machine, it becomes an actor. In the actor model, actors are “live” objects that can communicate with each other via asynchronous messages. In XState, we refer to these messages as events.
What is XState?
XState is a state management and orchestration solution for JavaScript and TypeScript apps.