Since one of the core principles of Redux is to never mutate state, you’ll often find yourself using Object.assign() to create copies of objects with new or updated values. For example, in the myApp Object.assign() is used to return new state with updated property qty….
Source: https://medium.com/@ashu.singh212/using-object-spread-operator-in-redux-1f63c8803621