πŸ“Š Angular
Q. Which lifecycle hook runs after every change detection cycle?
  • (A) ngOnInit
  • (B) ngAfterViewInit
  • (C) ngDoCheck
  • (D) ngOnDestroy
πŸ’¬ Discuss
βœ… Correct Answer: (C) ngDoCheck

Explanation: ngDoCheck runs during every change detection cycle.

Explanation by: Kartik Sharma
ngDoCheck runs during every change detection cycle.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
8
Total Visits
πŸ“½οΈ
25 d ago
Published
πŸŽ–οΈ
Kartik Sharma
Publisher
πŸ“ˆ
94%
Success Rate