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

πŸ‘οΈ
49
Total Visits
πŸ“½οΈ
7 mo ago
Published
πŸŽ–οΈ
Kartik Sharma
Publisher
πŸ“ˆ
84%
Success Rate