GludekG
tRPC4mo ago
2 replies
Gludek

Usage of trpc with nextjs ssg

Hi, I'm trying to use TRPC with next app router SSG.
Specifcially I want to have blog page that is statically generated, but I also need to handle cookies and headers on different API routes.
How should I go about this when creating contexts and routers?
Was this page helpful?