Skip to content

Function: useFateClient() ​

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

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

Returns the nearest FateClient from context.

Type Parameters ​

T ​

T extends [FateRoots, FateMutations] = [FateRoots, FateMutations]

Returns ​

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

Released under the MIT License