tRPCttRPC
Powered by
LukaL
tRPC•3y ago•
4 replies
Luka

React Query client and caller client under one object

Would love to know if it is possible to have caller and react query clients under one object?

I feel like it would be great to go api.cart.getCartItems() in server components that would utilise caller and api.card.getCartItems.useQuery() in client components.
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Using both tRPC React client AND tRPC React Query client
anton.johanssonAanton.johansson / ❓-help
3y ago
How to use client and react-query simultaneously?
MnigosMMnigos / ❓-help
17mo ago
React Query client errors on 401
QuintenQQuinten / ❓-help
3y ago