Xstate
vercel-labs/json-renderOfficial
Adapter that wires an @xstate/store atom in as the json-render state backend.
- CCM score
- 72 of 100
- skills.sh installs
- 1.2K
- GitHub stars
- 19.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers creating a
StateStorefrom an@xstate/storeatom viaxstateStoreStateStore({ atom }) - Includes a single options object whose
atomfield takes an atom created withcreateAtomand holding the state model - Routes json-render reads and writes through the XState atom when passed to
StateProviderfrom@json-render/react - Designed for json-render apps that already use
@xstate/storefor state management and require version 3 or later
Install
$ npx -y skills add vercel-labs/json-render --skill xstate -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
@json-render/xstate
XState Store adapter for json-render's StateStore interface. Wire an @xstate/store atom as the state backend for json-render.
Installation
npm install @json-render/xstate @json-render/core @json-render/react @xstate/store
Requires @xstate/store v3+.
Usage
import { createAtom } from "@xstate/store";
import { xstateStoreStateStore } from "@json-render/xstate";
import { StateProvider } from "@json-render/react";
// 1. Create an atom
const uiAtom = createAtom({ count: 0 });
// 2. Create the json-render StateStore adapter
const store = xstateStoreStateStore({ atom: uiAtom });
// 3. Use it
<StateProvider store={store}>
{/* json-render reads/writes go through @xstate/store */}
</StateProvider>
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 |
Details
- Repository
- github.com/vercel-labs/json-render
- Categories
- Frontend & UI Code, AI Agents & LLM Apps
- First seen
- Jun 3, 2026
More from vercel-labs/json-render
All 30- Solid1.2K
- Yaml1.1K
- Json Render React391
- Json Render Core340
- Json Render Shadcn316
- Json Render Remotion153
- Json Render React Native142
- React21K
- Core19.6K
- Codegen9K
- Next8.7K
- Devtools8.4K
- Directives8.1K
- Mcp6K
- React Native3.3K
- Shadcn2.5K
- React Three Fiber2.5K
- React Pdf2.5K
- Zustand2K
- Remotion1.9K
- Image1.7K
- Remotion Best Practices1.7K
- Vue1.5K
- React Email1.5K
Similar to Xstate
More Frontend & UI CodejotaiSkillvercel-labs/json-render1.2K installsJotai adapter that wires a Jotai atom in as the json-render state backend.
reduxSkillvercel-labs/json-render1.2K installsRedux adapter that backs json-render's StateStore with a Redux or Redux Toolkit store.
zustandPluginTheBushidoCollective/han201 starsComprehensive Zustand state management skills for React applications with store patterns, middleware, and TypeScript integration.
tanstack-storeSkilltanstack-skills/tanstack-skills1.9K installsFramework-agnostic reactive store with Derived and Effect primitives plus adapters for five frameworks.
valtioSkillhairyf/skills792 installsProxy-based state management for React and vanilla JavaScript that optimizes renders through fine-grained subscriptions.