Closed dpikt closed 7 years ago
Instead of
const reducer = handleActions({ [actions.setUser]: (state, { payload: user }) => set('user', user, state), }, initialState)
we could write
const reducer = handleActions({ [actions.setUser]: setState('user'), }, initialState)
Similarly, a unsetState() helper would be useful.
unsetState()
Moved to lp-redux-utils
lp-redux-utils
Instead of
we could write
Similarly, a
unsetState()
helper would be useful.