πŸ“Š Angular
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

πŸ‘οΈ
44
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate