Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import thunk from 'redux-thunk;'
- import { createBrowserHistory } from "history";
- import { createStore, combineReducers, compose, applyMiddleware } from 'redux';
- const history = createBrowserHistory();
- const store = createStore(reducer, applyMiddleware(thunk.withExtraArgument(history))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement