Angular uses a mechanism known as "change detection" to keep track of changes in application state. When a change is detected, it updates the DOM to reflect the new state. The "OnPush" change detection strategy is a more optimized approach.
1 Comment
Sort: