Created
January 7, 2019 22:35
-
-
Save wesleymonaro/f97c377c1c9b397daf2ae7c5d17c1d89 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ReduxThunk from "redux-thunk"; | |
import reducers from "./appReducers"; | |
import { applyMiddleware, createStore } from "redux"; | |
const middleware = [ReduxThunk]; | |
const store = createStore(reducers, applyMiddleware(...middleware)); | |
export default store; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment