How do I push an object data into the array in the child component on @Input change? – Javascript
sorry I am a beginner, what I am trying to do is pass an object from a parent component to a child component, which I successfully did by using @Input decorator, in this case the object is 'productCarted'. Next, I…