Hi,
I have a problem when switching from "BrowserRouter" to your "ConnectedRouter".
On the router I have the prop "basename" set to "/foo/". So i want all my routes to be prefixed with /foo. For example "/foo/bar".
The connected router ignores the basename and serves all routes from /
Sorry for late reply.
You can do that by passing it to createBrowserHistory.
Ex.
const history = createBrowserHistory({
basename: '/foo/',
})
Nice, thank you! 馃槂
I just updated the doc.
Most helpful comment
Sorry for late reply.
You can do that by passing it to
createBrowserHistory.Ex.