Type Alias: ~~TRPCPrepassProps<TRouter, TSSRContext>~~
On this page
TRPCPrepassProps<
TRouter,TSSRContext>:object
Defined in: withTRPC.tsx:130
The props ssrPrepass passes to the wrapped app during the prepass.
Type Parameters
| Type Parameter | Default type |
|---|---|
TRouter extends AnyRouter | - |
TSSRContext extends NextPageContext | NextPageContext |
Type declaration
config
config:
WithTRPCConfig<TRouter>
The client config from the config callback.
queryClient
queryClient:
QueryClient
The QueryClient that collects the prefetched queries.
ssrContext
ssrContext:
TSSRContext
The Next.js page context.
ssrState
ssrState:
"prepass"
trpcClient
trpcClient:
TRPCUntypedClient<TRouter> |TRPCClient<TRouter>
The tRPC client used during the prepass.
Deprecated
part of ssr: true, which is built on @trpc/react-query.