Skip to content

Instantly share code, notes, and snippets.

@rocksinghajay
Created April 8, 2019 20:05
Show Gist options
  • Save rocksinghajay/7cd1b12184a851fd8a9d073b62f4b531 to your computer and use it in GitHub Desktop.
Save rocksinghajay/7cd1b12184a851fd8a9d073b62f4b531 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment