SSR with T3 Stack

I think SSR is turned off in the default settings in T3 Stack, if I want to make SSR for only one page, which settings should I change in tRPC and how, is there an SSR sample repo made with the T3 Stack project that you can share?
1 Reply
iDarkLightning
iDarkLightning14mo ago
Server-Side Rendering | tRPC
To enable SSR just set ssr: true in your createTRPCNext config callback.
Static Site Generation | tRPC
Reference project//github.com/trpc/examples-next-prisma-todomvc
Server-Side Helpers | tRPC
The server-side helpers provides you with a set of helper functions that you can use to prefetch queries on the server. This is useful for SSG, but also for SSR if you opt not to use ssr: true.
Want results from more Discord servers?
Add your server