πŸ“Š Angular
Q. Which of the following is NOT a valid lifecycle hook in Angular?
  • (A) ngOnInit
  • (B) ngAfterViewChecked
  • (C) ngBeforeDestroy
  • (D) ngDoCheck
πŸ’¬ Discuss
βœ… Correct Answer: (C) ngBeforeDestroy

Explanation: Angular does not have a lifecycle hook named ngBeforeDestroy.

Explanation by: Mr. Dubey
Angular does not have a lifecycle hook named ngBeforeDestroy.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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