Skip to content

v5.1.0

Compare
Choose a tag to compare
@salvoravida salvoravida released this 10 Sep 01:03
· 11 commits to master since this release
  • Added support for basename
import { createReduxHistoryContext } from "redux-first-history";
import { createBrowserHistory } from 'history'; //v5

const { createReduxHistory, routerMiddleware, routerReducer } = createReduxHistoryContext({ 
  history: createBrowserHistory(),
  basename: '/app',
  //other options if needed 
});