Skip to content

Instantly share code, notes, and snippets.

@KTruong008
Created September 17, 2017 22:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KTruong008/4e72f1b3304820d8639fb8f0f5b989c7 to your computer and use it in GitHub Desktop.
Save KTruong008/4e72f1b3304820d8639fb8f0f5b989c7 to your computer and use it in GitHub Desktop.
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