I receive an array of objects through sockets, I write this data into the redox store.
But! when we change something on the site (in my case it is creating a new lobby or changing any data in it) then only a small part of the data comes to us (example: UPDATE_LOBBY: { user: admin, ..., ... }
And here is the question: how to rewrite this data in redux correctly? After all, the reducer should be a pure function, in action it also looks crazy, then where? or how?