TanStackT
TanStack3y ago
2 replies
wispy-olive

Use prefetchQuery with trpc

Hey! I am using trpc + React Query. I need to prefetch some queries, however, it is asking me for the query function, which I dont really have since trpc handles everything. What is the best approach?
Thanks
Was this page helpful?