Answer
Change detection updates the UI when data changes. Angular checks component trees after async events using Zone.js.
Two strategies exist: Default (checks all components) and OnPush (checks only when needed).
Change detection updates the UI when data changes. Angular checks component trees after async events using Zone.js.
Two strategies exist: Default (checks all components) and OnPush (checks only when needed).
This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.
Sign in to access all features and personalize your learning experience.
Source: SugharaIQ