The useQueryClient hook returns the current QueryClient instance.
import { useQueryClient } from '@tanstack/vue-query' const queryClient = useQueryClient(queryClient?: QueryClient)
Options
Full-stack Framework powered by TanStack Router for React and Solid
Type-safe Routing for React and Solid applications
“If you’re serious about *really* understanding React Query, there’s no better way than with query.gg”—Tanner Linsley