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

QueryClientContext.md

12 lines399 Bytes

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