How change detection works in Angular projects
Suggested resources
- Faster Angular Applications - Part 1. On Push Change Detection and Immutability by Minko Gechev
- Faster Angular Applications - Understanding Differs. Developing a Custom IterableDiffer by Minko Gechev
Suggested topics
- Dirty checking
- Differs
- Change detection strategies
- Default change detection (relies on Zone.js)
- On push change detection (skip dirty checking unless input property references change)
- Manual change detection
ngDoCheckvs.ngOnChanges- Experimental Ivy options
markDirtydetectChanges
NgZone- When and how does it trigger change detection?
- How do we opt out?