3 ms·
Um, no, you don't need to use Immutable with Redux. And regarding syntax, with object rest/spread (stage 3): (state, newName) => ({ ...state,
by danabramov 10y ago
Um, no, you don't need to use Immutable with Redux.
And regarding syntax, with object rest/spread (stage 3):
(state, newName) => ({
...state,
name: newName
})
It's not that verbose.