Skip to content

Function: FateClient() ​

FateClient(__namedParameters): Element

Defined in: react-fate/src/context.tsx:26

Provider component that supplies a configured FateClient to React hooks.

Parameters ​

__namedParameters ​

children ​

ReactNode

client ​

FateClient<any, any>

hydrationState? ​

Readonly<{ [hydrationScopeBrand]?: string; data: FateSerializedValue; scope: string; version: 1; }>

The original server snapshot to read while React hydrates this tree.

Returns ​

Element

Released under the MIT License