3👍
✅
You should inherit the previous object using Spread Operator, try this
this.params = {...this.params, ...data};
Source:stackexchange.com
3👍
You should inherit the previous object using Spread Operator, try this
this.params = {...this.params, ...data};