Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 225 Bytes

useQueryClient.md

File metadata and controls

12 lines (9 loc) · 225 Bytes
id title
useQueryClient
useQueryClient

The useQueryClient hook returns the current QueryClient instance.

import { useQueryClient } from '@tanstack/react-query'

const queryClient = useQueryClient()