Mnigos
Mnigos2mo ago

How to use client and react-query simultaneously?

I'm using this with nextjs app router and i want to have access to both query and useQuery methods.
2 Replies
Mnigos
MnigosOP2mo ago
Using both tRPC React client AND tRPC React Query client - tRPC
Hey all! We are successfully using both the React client and the React Query client. We do this because we have differnet use cases for the two strategies. However, we've just started using WebSockets (for tRPC subscriptions), and it seems to be difficult to share the actual tRPC client between the two strategies. So with WebSockets, it always s...
Mnigos
MnigosOP2mo ago
GitHub
feat: Using @trpc/client and @trpc/react-query simultaneously ...
Describe the feature you'd like to request I'm using trpc inside nextjs app with external trpc server that uses nestjs-trpc. I want to have acces for both query and useQuery since query wil...