Version: XState v4
Running machines in XState
Learn how to run machines in XState.
Running machines
Depending on where you’re using XState, you’ll likely need to run machines differently. We’ll start with the VanillaJS approach for now.
XState in React
You can use XState with React to coordinate local state, manage global state performantly, and consume data from other hooks.
Node
Patterns for long-running processes and async functions when running machines in Node.