A

Admin • 825.56K Points
Coach

Q. Which lifecycle hook is called when an input property changes?

  • (A) ngOnInit
  • (B) ngDoCheck
  • (C) ngOnChanges
  • (D) ngAfterViewInit

Explanation by: Admin
ngOnChanges reacts to @Input() changes.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.