Web Development Angular Subjective
Oct 23, 2025

Explain Angular change detection and OnPush strategy.

Detailed Explanation
Change detection checks for data changes and updates DOM. Default: Checks all components on every change. OnPush: Only checks when input properties change, events occur, or observables emit. Use @Component({ changeDetection: ChangeDetectionStrategy.OnPush })
Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback