How do I use ISR with t3 app.

I'm trying to figure out how to do my trpc queries in getStatic props. I can't seem to use useQuery() . Do I need to make any special alterations to my trpc.ts file to enable it?
1 Reply
whatplan
whatplan2y ago
Server-Side Helpers | tRPC
createServerSideHelpers 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