Using trpc with fastify server and nextjs client
Hello, is it possible to use fastify for server and have a nextjs client and make use of the SSG / SSR helpers? if so, what adaptor should I use in that case? is there any example for this?
5 Replies
Hey. Zion did you find an answer for this
sadly no, I decided to not use Nextjs as client but vite with tanstack router. still need to figure out how to use the SSG/SSR in that too.
thanks for the quick response
@Zion or @BillyBob did you find any solution to this?
I also have a fastify backend using trpc and I want to use prefetching in nextjs, so I need to initialize trpc serverside in nextjs somehow
@Dave cant remember but take a look at my repo: https://github.com/lwears/ReelScore
GitHub
GitHub - lwears/ReelScore: Movies and TV Ratings
Movies and TV Ratings. Contribute to lwears/ReelScore development by creating an account on GitHub.