Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { createStore, combineReducers, applyMiddleware } from 'redux'
- import thunk from 'redux-thunk'
- import dummyReducers from './reducers/dummyReducer'
- const reducer = combineReducers ({ dummyReducers })
- const store = createStore(
- reducer,
- applyMiddleware(thunk)
- )
- export default store
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement