xstate

XState Store adapter for json-render's StateStore interface. Use when integrating json-render with @xstate/store for state management via @json-render/xstate.

By vercel-labs · 897 installs

npx skills add vercel-labs/json-render --skill xstate

Source repository · Upstream listing

@json render/xstate [XState Store](https://stately.ai/docs/xstate store) adapter for json render's StateStore interface. Wire an @xstate/store atom as the state backend for json render. Installation Requires @xstate/store v3+. Usage API xstateStoreStateStore(options) Creates a StateStore backed by an @xstate/store atom. Option Type Required Description atom Atom<StateModel Yes An @xstate/store atom (from createAtom ) holding the json render state model