`QueryClientProvider` not included in `withTRPC`?
Trying to use
import { useIsMutating } from "react-query" but it's throwing Error: No QueryClient set, use QueryClientProvider to set one
We have the trpc.withTRPC(MyApp) with Next.js to add the tRPC provider - expected that this wouldn't also add the QueryClientProvider?2 Replies
With v10 of trpc, you need v4 of react-query, so the import must come from
@tanstack/react-queryBeast thank you!