RenderReadinessEntry

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

App-owned synchronous admission for one mounted view lifetime.

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

Declaration

export interface RenderReadinessEntry  {
  readonly component: ComponentType<RenderViewProps>;
  readonly fallback?: ComponentType<RenderViewProps>;
  readonly isReady: (props: Readonly<Record<string, RenderValue>>) => boolean;
  readonly kind: 'readiness';
}

Members

component

readonly component: ComponentType<RenderViewProps>;

fallback

readonly fallback?: ComponentType<RenderViewProps>;

isReady

readonly isReady: (props: Readonly<Record<string, RenderValue>>) => boolean;

kind

readonly kind: 'readiness';