UNPKG

@trpc/next

Version:

The tRPC Next.js library

14 lines • 641 B
import { t as TRPCPrepassHelper } from "./withTRPC-4HZhr-o3.mjs"; /** * 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; //# sourceMappingURL=ssrPrepass.d.mts.map