📄️ 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)
Reference project//github.com/trpc/examples-next-prisma-todomvc
📄️ 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.