mirror of
https://github.com/vercel-labs/json-render.git
synced 2026-10-02 03:54:41 +08:00
- Bump all public packages to 0.21.0 and document release highlights - Add missing devtools adapter skills and update web documentation - Validate version synchronization and workspace type safety
@json-render/devtools-solid
SolidJS adapter for the json-render devtools. Drop-in <JsonRenderDevtools /> component.
Installation
npm install @json-render/devtools @json-render/devtools-solid
Peer dep: solid-js@^1.9.
Usage
import { JsonRenderDevtools } from "@json-render/devtools-solid";
<JSONUIProvider registry={registry}>
<Renderer spec={spec()} registry={registry} />
<JsonRenderDevtools
spec={spec()}
catalog={catalog}
messages={messages()}
/>
</JSONUIProvider>;
- Floating toggle appears bottom-right.
- Hotkey:
Ctrl/Cmd+Shift+J. - Tree-shakes to
nullin production builds.
See the devtools docs for the full prop reference and panel tour.
License
Apache-2.0