Skip to content

Instantly share code, notes, and snippets.

@RodionChachura
Created April 27, 2018 16:44
Embed
What would you like to do?
import { createStore, combineReducers, applyMiddleware } from 'redux'
import { composeWithDevTools } from 'redux-devtools-extension'
import { reducer as formReducer } from 'redux-form'
import reducers from './reducers'
import middleware from './middleware'
export default createStore(
combineReducers({
...reducers,
form: formReducer
}),
composeWithDevTools(applyMiddleware(...middleware))
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment