Q. Which lifecycle hook is called when Angular sets or resets data-bound input properties?
β
Correct Answer: (B)
ngOnChanges
Explanation: ngOnChanges runs whenever an input property changes.