@angular change detection is a transparent mechanism for synchronizing component data with the template view automatically (no application code needed).
default change detection: Angular decides if the view needs to be updated by comparing all the template expression values before and after the occurrence of an event, for all components of the component tree.
OnPush change detection: this works by detecting if some new data has been explicitly pushed into the component, either via a component input or an Observable subscribed to using the async pipe.
• • •
Missing some Tweet in this thread? You can try to
force a refresh