Skip to main content
Version: 10.x

WithTRPCNoSSROptions<TRouter>

Type parameters

  • TRouter extends AnyRouter

Hierarchy

  • WithTRPCOptions<TRouter>.WithTRPCNoSSROptions

Properties

config

Function

Type declaration

Signature
ts
(info: object): WithTRPCConfig<TRouter>;
ts
(info: object): WithTRPCConfig<TRouter>;
Parameters
NameType
infoobject
info.ctx?NextPageContext
Returns

WithTRPCConfig<TRouter>

Inherited from: WithTRPCOptions.config

Defined in: next/src/withTRPC.tsx:66

context?

Context<any>

Override the default context provider

Default

undefined

Inherited from: WithTRPCOptions.context

Defined in: react-query/dist/shared/types.d.ts:31

reactQueryContext?

Context<undefined | QueryClient>

Override the default React Query context

Default

undefined

Inherited from: WithTRPCOptions.reactQueryContext

Defined in: react-query/dist/shared/types.d.ts:36

ssr?

false

Defined in: next/src/withTRPC.tsx:79

unstable_overrides?

object

ts
{
useMutation?: Partial<UseMutationOverride>;
}
ts
{
useMutation?: Partial<UseMutationOverride>;
}

Override behaviors of the built-in hooks

Type declaration

MemberType
useMutation?Partial<UseMutationOverride>

Inherited from: WithTRPCOptions.unstable_overrides

Defined in: react-query/dist/shared/types.d.ts:24