Skip to main content

TRenderEngineProvider

export
function TRenderEngineProvider(
  props: PropsWithChildren<TRenderEngineConfig>
) : ReactElement

A react component to share a ​TRenderEngine instance across different rendered contents via ​RenderHTMLSource. This can significantly enhance performance in applications with potentially dozens or hundreds of distinct rendered snippets such as chat apps.

Parameters#

props#

required
props: PropsWithChildren<TRenderEngineConfig>;