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

provideAngularQuery.md

38 lines818 Bytes

function provideAngularQuery(queryClient: QueryClient): Provider[];

Defined in: packages/angular-query-experimental/src/providers.ts:115

Sets up providers necessary to enable TanStack Query functionality for Angular applications.

Allows configuring a QueryClient.

Parameters

queryClient

QueryClient

A QueryClient instance.

Returns

Provider[]

A set of providers to set up TanStack Query.

See

https://tanstack.com/query/v5/docs/framework/angular/quick-start

Deprecated

Use provideTanStackQuery instead.