UNPKG

@trpc/next

Version:

The tRPC Next.js library

16 lines • 684 B
import { t as TRPCPrepassHelper } from "./withTRPC-BzqvaIkK.mjs"; //#region src/ssrPrepass.d.ts /** * Renders the app on the server to find its queries and fetches them. It * renders again until no queries are fetching, so queries that depend on * other data can take several renders. Pass it to `createTRPCNext` with * `ssr: true`. * * @deprecated built on `@trpc/react-query`, which only gets bug fixes. * Prefetch each page's queries in `getServerSideProps` with * `@trpc/tanstack-react-query` instead. * @see https://trpc.io/docs/client/nextjs/pages-router/ssr */ export declare const ssrPrepass: TRPCPrepassHelper; //#endregion //# sourceMappingURL=ssrPrepass.d.mts.map