Angular - Lifecycle Hooks
What is wrong with this
ngOnChanges implementation?ngOnChanges(changes: SimpleChanges): void {
if (changes['inputProp'].currentValue) {
console.log('Input changed');
}
}