Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 969 Bytes

how-change-detection-works-in-angular-projects.md

File metadata and controls

26 lines (22 loc) · 969 Bytes
contributors
Jia Li

How change detection works in Angular projects

Suggested resources

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
    • ngDoCheck vs. ngOnChanges
    • Experimental Ivy options
      • markDirty
      • detectChanges
  • NgZone
    • When and how does it trigger change detection?
    • How do we opt out?