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

provideangularquery.md

40 lines775 Bytes

Function: provideAngularQuery()

function provideAngularQuery(queryClient): Provider[]

Defined in: providers.ts:124

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

Allows to configure 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.