Function: createReactQueryHooks()
createReactQueryHooks<
TRouter
,TSSRContext
,TFlags
>(opts
?):CreateReactQueryHooks
<TRouter
,TSSRContext
> & {proxy
:CreateTRPCReact
<TRouter
,TSSRContext
,TFlags
>;}
Deprecated
use createTRPCReact
instead
Type parameters
Parameter | Default |
---|---|
TRouter extends Router < AnyRouterDef < AnyRootConfig , any >, TRouter > | - |
TSSRContext | unknown |
TFlags | null |
Parameters
Parameter | Type |
---|---|
opts ? | CreateTRPCReactOptions < TRouter > |
Returns
CreateReactQueryHooks
< TRouter
, TSSRContext
> & {proxy
: CreateTRPCReact
< TRouter
, TSSRContext
, TFlags
>;}
Source
packages/react-query/src/interop.ts:13
Generated using TypeDoc and typedoc-plugin-markdown