snapshot of https://github.com/TanStack/query.git (main, 2026-09-16; blobs > 131072B omitted)
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
---
|
||||
id: unregisterDefaultQueryClient
|
||||
title: unregisterDefaultQueryClient
|
||||
---
|
||||
|
||||
```ts
|
||||
function unregisterDefaultQueryClient(client): void;
|
||||
```
|
||||
|
||||
Defined in: [packages/lit-query/src/context.ts:45](https://github.com/TanStack/query/blob/main/packages/lit-query/src/context.ts#L45)
|
||||
|
||||
Unregisters a client previously registered with
|
||||
`registerDefaultQueryClient`.
|
||||
|
||||
`QueryClientProvider` calls this automatically when it disconnects.
|
||||
|
||||
## Parameters
|
||||
|
||||
### client
|
||||
|
||||
[`QueryClient`](../classes/QueryClient.md)
|
||||
|
||||
The query client registration to release.
|
||||
|
||||
## Returns
|
||||
|
||||
`void`
|
||||
Reference in New Issue
Block a user