Skip to main content

Variable: RenderContext

const RenderContext: Context<RenderContextType>

Defined in: context/RenderContext.ts:18

React context for the render system. Provides access to registered components throughout the component tree.

This context is used by the RenderProvider to make registered components available to all child components in the render tree.

Example

const { components } = useContext(RenderContext);
const Component = components['Button']?.Component;