707 B
707 B
id, title
| id | title |
|---|---|
| getQueryClientContext | getQueryClientContext |
function getQueryClientContext(): QueryClient;
Defined in: packages/svelte-query/src/context.ts:14
Retrieves the QueryClient set on Svelte's context by QueryClientProvider (or by
setQueryClientContext directly). This is what useQueryClient calls internally.
Returns
The QueryClient set on context, whether by QueryClientProvider or setQueryClientContext.
Throws
If no QueryClient was found in context.