Is there any way gSSP in T3 stack

I'm going to start a new project, and the T3 stack seems like a good choice. But in T3 I tried gSSP to render pages on the server and couldn't work it out. Till now in my research I found that gSSP is slow that's why Theo has decided to not go with it (correct me if I'm wrong). But for my project I have a requirement to use gSSP, to be precise I want to use @vercel/og to generate og:image on the server. If anyone can help me with this, it would be wonderful ✨
Solution:
if the issue is with gssp, you can check https://trpc.io/docs/client/nextjs/ssr
Server-Side Rendering | tRPC
To enable SSR just set ssr: true in your createTRPCNext config callback.
Jump to solution
2 Replies
Solution
Neto
Neto17mo ago
if the issue is with gssp, you can check https://trpc.io/docs/client/nextjs/ssr
Server-Side Rendering | tRPC
To enable SSR just set ssr: true in your createTRPCNext config callback.
kevalmiistry
kevalmiistryOP17mo ago
Thank you so much for the lead! Now I'm able to use gSSP to server render page in T3. Again Thank You 🙂
Want results from more Discord servers?
Add your server