6 min read
•Question 23 of 46hardChange Detection
How Angular detects and updates changes.
Change Detection Strategies
Default
Check entire component tree on any change.
OnPush
Only check when:
- Input reference changes
- Event from component or children
- Async pipe emits
- Manual trigger
Zone.js
Angular uses Zone.js to detect async operations and trigger change detection.