Packages
Find all the packages in XState.
@xstate/store
XState Store is a small library for simple state management in JavaScript/TypeScript applications. It is meant for updating store data using events for vanilla JavaScript/TypeScript apps, React apps, and more. It is comparable to libraries like Zustand, Redux, and Pinia. For more complex state management, you should use XState instead, or you can use XState Store with XState.
@xstate/react
The @xstate/react package contains hooks and helper functions for using XState with React.
@xstate/vue
The @xstate/vue package contains utilities for using XState with Vue.
@xstate/svelte
The @xstate/svelte package contains utilities for using XState with Svelte.
@xstate/graph
The @xstate/graph package contains graph algorithms and utilities for XState machines.
@xstate/test
The latest version of the model-based testing utilities (prev. @xstate/test) are now part of the latest @xstate/graph package.