13 lines
389 B
Markdown
13 lines
389 B
Markdown
---
|
|
id: QueryClientContext
|
|
title: QueryClientContext
|
|
---
|
|
|
|
```ts
|
|
const QueryClientContext: Context<QueryClient | undefined>;
|
|
```
|
|
|
|
Defined in: [packages/react-query/src/QueryClientProvider.tsx:9](https://github.com/TanStack/query/blob/main/packages/react-query/src/QueryClientProvider.tsx#L9)
|
|
|
|
The context that `useQueryClient` reads from. `QueryClientProvider` is the normal way to set it.
|