This post discusses the change detection process in Angular, including how Angular knows when to refresh the view, the role of Zone.js in managing asynchronous code, and the introduction of signals as a new way to manage state in Angular. It also explores the concepts of GlobalMode and TargetedMode in change detection.
Table of contents
Component binding refreshOnPush Change DetectionOnPush + Observables + async pipeOnPush + Observables + Who is triggering zone.js?Signals 🚦Signals and Change DetectionLocal Change Detection (Targeted mode)Targeted Mode RulesSort: