OnPush Change Detection in Angular — a practical guide to Angular OnPush with clear examples you can reuse in real projects.
Angular Tutorial Series (107/119). Prefer one article? Read the complete Angular tutorial.
Short description
Works great with immutable data and signals.
OnPush
@Component({
changeDetection: ChangeDetectionStrategy.OnPush,
// ...
})
export class ItemComponent {}