tRPCttRPC
Powered by
Jack FischerJ
tRPC•4y ago•
2 replies
Jack Fischer

`QueryClientProvider` not included in `withTRPC`?

Trying to use
import { useIsMutating } from "react-query"
import { useIsMutating } from "react-query"
but it's throwing
Error: No QueryClient set, use QueryClientProvider to set one
Error: No QueryClient set, use QueryClientProvider to set one

We have the
trpc.withTRPC(MyApp)
trpc.withTRPC(MyApp)
with Next.js to add the tRPC provider - expected that this wouldn't also add the
QueryClientProvider
QueryClientProvider
?
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

withTRPC not working in RootLayout
OctaviusOOctavius / ❓-help
17mo ago