-
-
Save KTruong008/4e72f1b3304820d8639fb8f0f5b989c7 to your computer and use it in GitHub Desktop.
This file contains 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 { reducer as formReducer } from 'redux-form'; | |
export default function createReducer(extraReducerObjects = {}) { | |
return combineReducers({ | |
form: formReducer, | |
...extraReducerObjects | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment