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

QueryClientContext.md

12 lines389 Bytes

1---
2id: QueryClientContext
3title: QueryClientContext
4---
5​
6```ts
7const QueryClientContext: Context<QueryClient | undefined>;
8```
9​
10Defined in: [packages/react-query/src/QueryClientProvider.tsx:9](https://github.com/TanStack/query/blob/main/packages/react-query/src/QueryClientProvider.tsx#L9)
11​
12The context that `useQueryClient` reads from. `QueryClientProvider` is the normal way to set it.