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.
Loading...
Related Quiz
- To update your Angular CLI globally to the latest version, you would use the command npm install -g ________.
- Which command or flag should you use with Angular CLI if you want to analyze the size of your bundles?
- In Angular's Reactive Forms, the ______ is a service that provides convenient methods to construct form controls.
- How can you configure the Angular CLI to generate components with inline templates and styles by default?
- What is the role of Value Accessors in Angular forms?