Advertisement
Guest User

Untitled

a guest
Apr 18th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. import { createStore, combineReducers, applyMiddleware } from 'redux'
  2. import thunk from 'redux-thunk'
  3.  
  4. import dummyReducers from './reducers/dummyReducer'
  5.  
  6. const reducer = combineReducers ({ dummyReducers })
  7.  
  8. const store = createStore(
  9. reducer,
  10. applyMiddleware(thunk)
  11. )
  12.  
  13. export default store
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement