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