RenderSpec

Unpublished development API. This package is under development and is not available as a published release.

Present a caller-prepared tree. Application code owns validation, state and actions: the spec names actions in its on bindings, and only handlers the application supplies run. With a store, views can write state; with state, the tree is read-only.

import { RenderSpec } from '@threadplane/react/render';

Declaration · overload 1

export declare function RenderSpec(input: RenderSpecProps): import("react/jsx-runtime").JSX.Element | null;

Parameters

{ spec, registry, state, store, functions, loading, fallback, handlers, onEvent, } · required
input · required
RenderSpecProps

Returns

import("react/jsx-runtime").JSX.Element | null