tRPCttRPC
Powered by
AleksanderA
tRPC•4mo ago
Aleksander

createTRPCOptionsProxy needs a queryClient?

@trpc/react
Trying to understand why
createTRPCOptionsProxy
createTRPCOptionsProxy
needs a
queryClient
queryClient
given that it's then used inside of
useQuery
useQuery
, which in turn will get the client from
useQueryClient
useQueryClient
? What would happen if the two queryClients don't match?
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

Error: No QueryClient set, use QueryClientProvider to set one
welpWwelp / ❓-help
3y ago
Troubleshooting createTRPCOptionsProxy with Server Components and Context Passing
craftzcodeCcraftzcode / ❓-help
11mo ago
React Native/Expo: Uncaught Error: No QueryClient set, use QueryClientProvider to set one
MozziusMMozzius / ❓-help
3y ago