This repository was archived by the owner on Oct 26, 2018. It is now read-only.

Description
I want to run my app in a context so i need a history basename:
import {createHistory,useBasename} from 'history';
const history = useBasename(createHistory)({
basename: '/mybase'
});
I also use an onEnter in the route which loads current session and calls dispatch. The dispatch runs into the syncReduxAndRouter and call pushState causing the loop. This happens because redux-simple-router uses window.location to check the changes and is not is not aware of the basename used in the history so it always calls pushState