πŸ“Š Angular
Q. How can you optimize Angular app performance with change detection?
  • (A) Use OnPush change detection strategy
  • (B) Use default change detection always
  • (C) Disable change detection
  • (D) Manually call detectChanges everywhere
πŸ’¬ Discuss
βœ… Correct Answer: (A) Use OnPush change detection strategy

Explanation: OnPush strategy limits change detection to input changes.

Explanation by: Mr. Dubey
OnPush strategy limits change detection to input changes.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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