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

QueryClientContext.md

14 lines462 Bytes

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:9](https://github.com/TanStack/query/blob/main/packages/react-query/src/QueryClientProvider.tsx#L9)
13​
14The context that `useQueryClient` reads from. `QueryClientProvider` is the normal way to set it.