πŸ“Š Angular
Q. Which lifecycle hook is called once after the first `ngOnChanges`?
  • (A) ngOnInit
  • (B) ngAfterViewInit
  • (C) ngAfterContentInit
  • (D) ngOnDestroy
πŸ’¬ Discuss
βœ… Correct Answer: (A) ngOnInit

Explanation: `ngOnInit` is called after the component's first `ngOnChanges`.

Explanation by: Mr. Dubey
`ngOnInit` is called after the component's first `ngOnChanges`.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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