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'

(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

outputType?

VariantOutputType

(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

trackRouteOnRender?

boolean

(Optional) Whether to track a route change to the current URL when this component is rendered.

true