flexdinesh/react-redux-boilerplate
Ver no GitHubInject reducer arbitrarily rather than top level for redux store to replace reducer
Open
#33 aberto em 13 de abr. de 2019
help wanted
Métricas do repositório
- Stars
- (782 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
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