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