snapshot of https://github.com/TanStack/query.git (main, 2026-09-16; blobs > 131072B omitted)
This commit is contained in:
13
examples/angular/basic-persister/src/app/app.component.ts
Normal file
13
examples/angular/basic-persister/src/app/app.component.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { ChangeDetectionStrategy, Component, signal } from '@angular/core'
|
||||
import { PostComponent } from './components/post.component'
|
||||
import { PostsComponent } from './components/posts.component'
|
||||
|
||||
@Component({
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
selector: 'basic-example',
|
||||
templateUrl: './app.component.html',
|
||||
imports: [PostComponent, PostsComponent],
|
||||
})
|
||||
export class BasicExampleComponent {
|
||||
postId = signal(-1)
|
||||
}
|
||||
Reference in New Issue
Block a user