Skip to content
This repository was archived by the owner on Mar 22, 2020. It is now read-only.
This repository was archived by the owner on Mar 22, 2020. It is now read-only.

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

@rigids

Description

@rigids

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions