Angular - State Management
Analyze this Angular component managing local state without NgRx:
What will be displayed after clicking the button three times?
export class ClickCounterComponent {
clicks = 0;
onClick() {
this.clicks++;
}
}{{ clicks }}
What will be displayed after clicking the button three times?
