Q. Which lifecycle hook detects changes to input properties?
β
Correct Answer: (A)
ngOnChanges
Explanation: ngOnChanges is called whenever data-bound input properties change.