Skip to content

Function: useFateClient()

useFateClient<T>(): FateClient<T[0], T[1]>

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

Returns the nearest FateClient from context.

Type Parameters

T

T extends [ClientRoots, ClientMutations]

Returns

FateClient<T[0], T[1]>

Released under the MIT License