πŸ“Š Angular
Q. How does OnPush change detection strategy improve performance?
  • (A) It checks for changes only when input properties change or events occur
  • (B) It disables change detection
  • (C) It updates UI every second
  • (D) It forces Angular to reload components
πŸ’¬ Discuss
βœ… Correct Answer: (A) It checks for changes only when input properties change or events occur

Explanation: OnPush reduces unnecessary checks by limiting when the component updates.

Explanation by: Mr. Dubey
OnPush reduces unnecessary checks by limiting when the component updates.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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