Learn about XState.
You can install XState using your favorite package manager or embed the `` directly from a CDN.
We have XState templates for TypeScript, React Typescript, Vue, Svelte, and more!
States are used for handling your apps states which you know about in advance. Context is a data store that you can use to store any arbitrary values.