I´ve using this method to share data between components because is more agile than observables, services or whatever method… But, I´m using on an angular 15 project and it seems doesnt work.
I have a parent component with an object variable initialized as empty object.
Parent component
exhibitor: object = {};
I have a child component with an input variable which i share reference to exhibitor parent variable
@Input() exhibitorData: object = {};
Then, i share exhihibitor parent with child in template
<app-exhibitor-child [exhibitor-data]="exhibitor"></app-exhibitor-child>
But when I change exhibitorData it doesnt affect to exhibitor parent varible.
this.exhibitorData = { 'property': changed };
I´ve been using this method for years and it doesnt work, angular is creating isolated scopes for each component or what?