Answer
OnPush change detection checks a component only when its input reference changes, an event occurs, or an observable emits.
It improves performance in large, data-heavy applications by reducing unnecessary change detection cycles.
OnPush change detection checks a component only when its input reference changes, an event occurs, or an observable emits.
It improves performance in large, data-heavy applications by reducing unnecessary change detection cycles.
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