Open History to see the last commit
1---
2id: QueryClientContext
3title: QueryClientContext
4---
5β
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7β
8```ts
9const QueryClientContext: Context<QueryClient | undefined>;
10```
11β
12Defined in: [packages/react-query/src/QueryClientProvider.tsx:8](https://github.com/TanStack/query/blob/main/packages/react-query/src/QueryClientProvider.tsx#L8)
13β
14The context that `useQueryClient` reads from. `QueryClientProvider` is the normal way to set it.