Allow specifying a base directory for routing
I tried switching to BrowserRouter
, which accepts a basename
, but it just cannot be integrated with Redux without a major refactoring. In the end, I found a much simpler solution: createBrowserHistory
itself accepts a basename
option.