Q. What is the role of Zone.js in Angular?

  • (A) To detect async operations and trigger change detection
  • (B) To handle routing
  • (C) To create components
  • (D) To style components
πŸ’¬ Discuss
βœ… Correct Answer: (A) To detect async operations and trigger change detection
Explanation: Zone.js patches async APIs and notifies Angular to update views.
Explanation by: Mr. Dubey
Zone.js patches async APIs and notifies Angular to update views.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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