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

queryClientContext.md

18 lines520 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: object;
10```
11​
12Defined in: [packages/lit-query/src/context.ts:11](https://github.com/TanStack/query/blob/main/packages/lit-query/src/context.ts#L11)
13​
14Lit context key used by `QueryClientProvider` and host-bound APIs to share a
15`QueryClient` through the DOM tree.
16​
17Most applications use `QueryClientProvider` instead of interacting with this
18context directly.