How can I get ngOnChanges () to fire if a property on one of the data-related objects changes, instead of setting the property to a new object.
@Input() myObj: ObjType;
It does not cause a change
dataBoundObj.width = 1000;
It does
dataBoundObj = new ObjType();
source
share