ReactRendererOptions
Overview
Usage
- Node
- Deno
import { ReactRendererOptions } from 'keywork/react/interfaces'
import { ReactRendererOptions } from 'https://deno.land/x/keywork/react/interfaces'
Properties
DocumentComponent
optional DocumentComponent: [`KeyworkHTMLDocumentComponent`](../../components/types/KeyworkHTMLDocumentComponent.mdx)
Defined in
react/interfaces/ReactRendererOptions.ts:63
Providers
optional Providers: [`KeyworkProvidersComponent`](../../components/types/KeyworkProvidersComponent.mdx)
A React component which wraps the SSR routes. Use this if you need to inject a provider into the SSR pipeline.
Defined in
react/interfaces/ReactRendererOptions.ts:68
logLevel
optional logLevel: `LogLevel`
The log level to use for the renderer.
Default
Defined in
react/interfaces/ReactRendererOptions.ts:74
streamRenderer
optional streamRenderer: `IReactStreamRenderer`
Defined in
react/interfaces/ReactRendererOptions.ts:58
A HTML Document React component which wraps the entire application. Use this if you need to replace the default HTML Document.