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

app.config.ts

17 lines413 Bytes

1import {
2 ApplicationConfig,
3 provideBrowserGlobalErrorListeners,
4 provideZonelessChangeDetection,
5} from '@angular/core'
6import {
7 provideTanStackQuery,
8 QueryClient,
9} from '@tanstack/angular-query-experimental'
10​
11export const appConfig: ApplicationConfig = {
12 providers: [
13 provideBrowserGlobalErrorListeners(),
14 provideZonelessChangeDetection(),
15 provideTanStackQuery(new QueryClient()),
16 ],