Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

useQueryClient.md

12 lines214 Bytes

1---
2id: useQueryClient
3title: useQueryClient
4---
5​
6The `useQueryClient` hook returns the current `QueryClient` instance.
7​
8```js
9import { useQueryClient } from 'react-query'
10​
11const queryClient = useQueryClient()
12```