Redux - where to prepare data
问题 I am new in Redux and I have a problem. I have array of objects in state, after adding a new object in that array I want to change all other objects. For example, something like this: [{id : 0, visible: false}, {id : 1, visible: true}] - old array [{id : 0, visible: false}, {id : 1, visible : false}, {id : 2, visible : true}] - that I want Where I should prepare old state? As redux documentaion said, in reducers I shouldn't make anything with state, I just need to return new state. Can I