Input Output decorator
1 post1 contributor
+ FollowBe the first to follow this
Write about itArticles about Input Output decorator
Parent-Child Component Communication – Solving the Sync Issue
This article explains a real issue faced while passing data from a parent to a child component in Angular using @Input(). The child component was not updating correctly when the input changed. The problem was fixed by moving the data loading logic to the ngOnChanges() lifecycle hook.
