📄️ Usage with Next.js
Next.js makes it easy for you to build your client and server together in one codebase. tRPC makes it easy to share types between them, ensuring typesafety for your application's data fetching.
📄️ Server-Side Rendering (SSR)
To enable SSR just set ssr: true in your createTRPCNext config callback.
📄️ Static Site Generation (SSG)
📄️ SSG Helpers
createProxySSGHelpers provides you with a set of helper functions that you can use to prefetch queries on the server.
📄️ Starter Projects
Get started quickly with one of the sample projects! Copy the snippet from Quick start with create-next-app in the below list to clone the project.