
Redux
vercel-labs/json-renderOfficial
Redux adapter that backs json-render's StateStore with a Redux or Redux Toolkit store.
- skills.sh installs
- 1.2K
- GitHub stars
- 19.8K
- last updated
- Aug 21, 2026
What it does
- Covers wiring a Redux store or Redux Toolkit slice as the state backend for json-render's
StateStoreinterface - Provides
reduxStateStore({ store, selector, dispatch })to select the json-render slice and replace it through a dispatched action - Requires a
selectorthat picks the json-render state from the Redux tree, or(s) => swhen the whole state is the model - Designed for integrating json-render with Redux or Redux Toolkit through
@json-render/redux,@json-render/core, and@json-render/react
Install
$ npx -y skills add vercel-labs/json-render --skill redux -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
@json-render/redux
Redux adapter for json-render's StateStore interface. Wire a Redux store (or Redux Toolkit slice) as the state backend for json-render.
Installation
npm install @json-render/redux @json-render/core @json-render/react redux
# or with Redux Toolkit (recommended):
npm install @json-render/redux @json-render/core @json-render/react @reduxjs/toolkit
Usage
import { configureStore, createSlice } from "@reduxjs/toolkit";
import { reduxStateStore } from "@json-render/redux";
import { StateProvider } from "@json-render/react";
// 1. Define a slice for json-render state
const uiSlice = createSlice({
name: "ui",
initialState: { count: 0 } as Record<string, unknown>,
reducers: {
replaceUiState: (_state, action) => action.payload,
},
});
// 2. Create the Redux store
const reduxStore = configureStore({
reducer: { ui: uiSlice.reducer },
});
// 3. Create the json-render StateStore adapter
const store = reduxStateStore({
store: reduxStore,
selector: (state) => state.ui,
dispatch: (next, s) => s.dispatch(uiSlice.actions.replaceUiState(next)),
});
Details
- Repository
- github.com/vercel-labs/json-render
- Categories
- Frontend & UI Code, AI Agents & LLM Apps
- First seen
- May 16, 2026
More from vercel-labs/json-render
All 30- Jotai1.2K
- Xstate1.1K
- Solid1.1K
- Yaml1.1K
- Json Render React391
- Json Render Core340
- Json Render Shadcn255
- Json Render Remotion153
- Json Render React Native142
- React19.1K
- Core17.7K
- Codegen8.9K
- Next8.6K
- Devtools8.4K
- Directives8.1K
- Mcp5.9K
- React Native3.3K
- Shadcn2.5K
- React Three Fiber2.4K
- React Pdf2.4K
- Zustand1.9K
- Remotion1.8K
- Image1.6K
- Remotion Best Practices1.6K
Similar to Redux
More Frontend & UI Code
zustandvercel-labs/json-render1.9K installsZustand v5 adapter that wires a vanilla Zustand store in as json-render's state backend.
xstatevercel-labs/json-render1.1K installsAdapter that wires an @xstate/store atom in as the json-render state backend.
react-state-managementsickn33/agentic-awesome-skills425 installsModern React state management guide covering Redux Toolkit, Zustand, Jotai, and React Query with concrete store patterns.
zustand-store-tssickn33/agentic-awesome-skills254 installsTyped Zustand store patterns with subscribeWithSelector, split state and actions, and selector-based rendering.
frontend-state-managementaj-geddes/useful-ai-prompts487 installsFrontend state management guide comparing Redux Toolkit, Zustand, Context API with useReducer, and MobX for multi-component apps.
zustand-5gentleman-programming/gentleman-skills207 installsConcise Zustand 5 store patterns covering selectors, middleware, slices, and async actions for React state.