Interface: TRPCReactRequestOptions
On this page
Defined in: tanstack-react-query/src/internals/types.ts:51
tRPC options for a single query or mutation, passed as trpc.
Extends
Omit<TRPCRequestOptions,"signal">
Properties
abortOnUnmount?
optionalabortOnUnmount:boolean
Defined in: tanstack-react-query/src/internals/types.ts:61
Opt out or into aborting request on unmount
context?
optionalcontext:OperationContext
Defined in: client/dist/index.d.mts:32
Context for the links, such as a flag a splitLink reads.
See
https://trpc.io/docs/client/links#managing-context
Inherited from
Omit.context
ssr?
optionalssr:boolean
Defined in: tanstack-react-query/src/internals/types.ts:57
Opt out of SSR for this query by passing ssr: false