RenderSpecProps

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

Supplies a nullable render tree and component registry, read-only state or a writable store, computed functions and actions, plus loading state and a fallback component.

import type { RenderSpecProps } from '@threadplane/react/render';

Declaration

export type RenderSpecProps = RenderSpecBaseProps & ({
    readonly state?: DeepReadonly<Record<string, unknown>>;
    readonly store?: undefined;
} | {
    readonly store: RenderStore;
    readonly state?: undefined;
});