Skip to content

Instantly share code, notes, and snippets.

@santosh-btc
Created June 3, 2018 11:12
Show Gist options
  • Save santosh-btc/7089f2843ec5dca39f0ca86b54a4ff08 to your computer and use it in GitHub Desktop.
Save santosh-btc/7089f2843ec5dca39f0ca86b54a4ff08 to your computer and use it in GitHub Desktop.
import { createStore, combineReducers } from 'redux';
import { reducer as reduxFormReducer } from 'redux-form';
const reducer = combineReducers({
form: reduxFormReducer,
});
const store = (window.devToolsExtension
? window.devToolsExtension()(createStore)
: createStore)(reducer);
export default store;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment