When using ChangeDetectionStrategy.OnPush, Angular relies on ________ checks to determine component updates.

  • Asynchronous
  • Manual
  • Reference
  • Regular
When using ChangeDetectionStrategy.OnPush in Angular, the framework relies on asynchronous checks to determine component updates. This means that Angular will trigger change detection for a component when asynchronous events, such as user interactions or observable data changes, occur. This strategy is valuable for optimizing performance by reducing unnecessary checks.
Add your answer
Loading...

Leave a comment

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