Chris Tate 838ee7bf00 prepare v0.19.0 (#282) 2 달 전
..
src ad0be0efc9 devtools (#273) 2 달 전
README.md ad0be0efc9 devtools (#273) 2 달 전
package.json 838ee7bf00 prepare v0.19.0 (#282) 2 달 전
tsconfig.json ad0be0efc9 devtools (#273) 2 달 전
tsup.config.ts ad0be0efc9 devtools (#273) 2 달 전

README.md

@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 null in production builds.

See the devtools docs for the full prop reference and panel tour.

License

Apache-2.0