Q. What is a key benefit of using Angular's OnPush change detection strategy?

  • (A) Eager loading all components
  • (B) Improved performance by reducing change detection
  • (C) Adding extra watchers
  • (D) Automatically unsubscribing Observables
πŸ’¬ Discuss
βœ… Correct Answer: (B) Improved performance by reducing change detection
Explanation: OnPush limits change detection to only when input references change, enhancing performance.
Explanation by: Mr. Dubey
OnPush limits change detection to only when input references change, enhancing performance.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
75
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
85%
Success Rate