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

main.ts

15 lines474 Bytes

1import { provideZonelessChangeDetection } from '@angular/core'
2import { bootstrapApplication } from '@angular/platform-browser'
3import {
4 QueryClient,
5 provideTanStackQuery,
6} from '@tanstack/angular-query-experimental'
7import { AppComponent } from './app.component'
8import './styles.css'
9​
10bootstrapApplication(AppComponent, {
11 providers: [
12 provideZonelessChangeDetection(),
13 provideTanStackQuery(new QueryClient()),
14 ],
15}).catch((error) => console.error(error))