Concept Flow - ngOnChanges for input changes
Parent changes input value
Angular detects input change
Calls ngOnChanges() in child
ngOnChanges receives SimpleChanges object
Child updates based on changes
View updates with new input
When a parent changes an input property, Angular calls ngOnChanges in the child with details of the change, allowing the child to react before the view updates.