Angular - Lifecycle Hooks
What does the
ngOnChanges lifecycle hook detect in an Angular component?ngOnChanges lifecycle hook detect in an Angular component?ngOnChangesThis hook is called when Angular sets or resets data-bound input properties.
ngOnChangesIt triggers only when input properties from the parent change, not internal variables or template changes.
ngOnChanges detects input changes [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions