Gludek
Gludek1h ago

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?
1 Reply
Gludek
GludekOP1h ago
Also I was trying to figure out ServerSideHelpers but the only docs about this are for page router.

Did you find this page helpful?