Home > @uniformdev/context-react > UniformContextProps
UniformContextProps interface
Signature:
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
context | Context | The configured Uniform Context instance to provide | |
includeTransferState? | 'always' | 'never' | 'server-only' | <p>(Optional) Whether to include Uniform transfer state tag in the page HTML. - <code>always</code> - Always include Uniform transfer state tag in the page HTML - <code>never</code> - Never include Uniform transfer state tag in the page HTML - <code>server-only</code> - Only include Uniform transfer state tag in the page HTML when <code>window</code> is undefined, i.e. on the server or during SSG.</p><p> server-only</p> | |
outputType? | VariantOutputType | <p>(Optional) The output type to emit. - <code>standard</code> - Emits selected variants as HTML suitable for SSR or SSG - <code>edge</code> - Emits all variants suitable for Edge-side personalization selection</p><p> standard</p> | |
trackRouteOnRender? | boolean | <p>(Optional) Whether to track a route change to the current URL when this component is rendered.</p><p> true</p> |