react-redux-boilerplate icon indicating copy to clipboard operation
react-redux-boilerplate copied to clipboard

Inject reducer arbitrarily rather than top level for redux store to replace reducer

Open rigids opened this issue 6 years ago • 2 comments

Is it possible to inject the reducer to update the state of existing as well was one level below the current state using following doesnt works rather create a new item in state by name home.userData const withReducer = injectReducer({ key: 'home.userData', reducer });

Is it possible that we can use key which is . separated to build nested object of asyncReducers ?

Having something like this will make this boilerplate viable for large scale applications , More context here

rigids avatar Apr 13 '19 15:04 rigids

Any Update on this ?

rigids avatar Nov 01 '19 08:11 rigids

Sorry @rigids. I'm not actively maintaining this boilerplate anymore.

flexdinesh avatar Nov 03 '19 00:11 flexdinesh