provideQueryClient

Function: provideQueryClient()

ts
function provideQueryClient(value): Provider
function provideQueryClient(value): Provider

Usually provideAngularQuery is used once to set up TanStack Query and the https://tanstack.com/query/latest/docs/reference/QueryClient|QueryClient for the entire application. You can use provideQueryClient to provide a different QueryClient instance for a part of the application.

Parameters

value: QueryClient | () => QueryClient

Returns

Provider

Defined in

inject-query-client.ts:25