The useQueryClient hook returns the current QueryClient instance.
import { useQueryClient } from '@tanstack/vue-query'
const queryClient = useQueryClient(queryClient?: QueryClient)
import { useQueryClient } from '@tanstack/vue-query'
const queryClient = useQueryClient(queryClient?: QueryClient)
Options