Interface: WithTRPCNoSSROptions<TRouter>
Extends
WithTRPCOptions<TRouter>
Type parameters
| Parameter |
|---|
TRouter extends AnyRouter |
Properties
abortOnUnmount
optionalabortOnUnmount:boolean
Abort all queries when unmounting
Default
tsfalse
tsfalse
Source
react-query/dist/shared/types.d.ts:34
Inherited from
WithTRPCOptions.abortOnUnmount
config
config: (
info) =>WithTRPCConfig<TRouter>
Parameters
| Parameter | Type |
|---|---|
info | object |
info.ctx? | NextPageContext |
Returns
WithTRPCConfig< TRouter >
Source
Inherited from
WithTRPCOptions.config
context
optionalcontext:Context<any>
Override the default context provider
Default
tsundefined
tsundefined
Source
react-query/dist/shared/types.d.ts:39
Inherited from
WithTRPCOptions.context
overrides
optionaloverrides:object
Override behaviors of the built-in hooks
Type declaration
overrides.useMutation
optionaluseMutation:Partial<UseMutationOverride>
Source
react-query/dist/shared/types.d.ts:27
Inherited from
WithTRPCOptions.overrides
ssr
optionalssr:false
Source
Generated using TypeDoc and typedoc-plugin-markdown