Skip to main content
Version: 11.x

Function: createTRPCReact()

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

Type parameters

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

Parameters

ParameterType
opts?CreateTRPCReactOptions< TRouter >

Returns

CreateTRPCReact< TRouter, TSSRContext, TFlags >

Source

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


Generated using TypeDoc and typedoc-plugin-markdown