Skip to main content
Version: 11.x

Function: createTRPCReact()

createTRPCReact<TRouter, TSSRContext>(opts?): CreateTRPCReact< TRouter, TSSRContext >

Type parameters

ParameterDefault
TRouter extends Router< any, any, TRouter >-
TSSRContextunknown

Parameters

ParameterType
opts?CreateTRPCReactOptions< TRouter >

Returns

CreateTRPCReact< TRouter, TSSRContext >

Source

packages/react-query/src/createTRPCReact.tsx:291


Generated using TypeDoc and typedoc-plugin-markdown