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