Launch offer
Business website $150 USD Custom plugin $200 USD Ready in 5 days
Get a quote
Angular

OnPush Change Detection in Angular

Skip checks when inputs are unchanged by reference with ChangeDetectionStrategy.OnPush.

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 {}

Leave a reply

Your email address will not be published. Required fields are marked *