index.js
341 Bytes
import { createStore, applyMiddleware } from 'redux'
import thunkMiddleware from 'redux-thunk'
import { createEpicMiddleware } from 'redux-observable'
import reducers from '../reducers'
import epics from '../epics'
const store = createStore(reducers,
applyMiddleware(thunkMiddleware, createEpicMiddleware(epics))
)
export default store