These docs describe the main branch, including unreleased changes. Read the 0.6.0 docs.

@opentui/react/renderer

Every export of @opentui/react/renderer in the main-branch source, from its type declarations. A version names the release that added an export after the module's first release.

Functions#

function createRoot(renderer: CliRenderer): Root
React

Types#

type Root = { render: (node: ReactNode) => void; unmount: () => void; }
React

Constants and variables#

const createPortal: (children: ReactNode, containerInfo: any, implementation: any, key?: string | null) => ReactPortal
React
const flushSync: { (): void; <R>(fn: () => R): R; } & { (): void; <R>(fn: () => R): R; }
React