Created
July 19, 2021 13:48
-
-
Save mercykip/86bb7192c93417dad83213f5fd476ee1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { combineReducers } from "redux"; | |
| import { userReducers } from "./reducer"; | |
| /// combine reducer helps your reducer to manage their own slices of state. | |
| /// it will combine all reducers passed to it into a single reducing function | |
| /// that can be exported as default | |
| const reducers = combineReducers({ | |
| user: userReducers | |
| }); | |
| export default reducers; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment