@genetik/renderer
v0.0.3
Published
Framework-agnostic core: resolves content + schema into a **resolved tree** (ResolvedNode). No UI framework; use @genetik/renderer-react (or another binding) to map the tree to components.
Readme
@genetik/renderer
Framework-agnostic core: resolves content + schema into a resolved tree (ResolvedNode). No UI framework; use @genetik/renderer-react (or another binding) to map the tree to components.
Installation
pnpm add @genetik/rendererUsage
- resolve(content, schema) — Returns the root ResolvedNode, or null if the entry node is missing. Each node has
block,config, andslots(slot name → ordered array of ResolvedNode).
See the docs for API and examples.
