The example given in the FAQ for configuring the router does not work as base name is not part of BrowserHistoryOptions. This used to work in older versions of connected-react-router, as I copied this line from a project from a few months ago.
export const history = createBrowserHistory({ basename: process.env.PUBLIC_URL, });
The example given in the FAQ for configuring the router does not work as base name is not part of BrowserHistoryOptions. This used to work in older versions of connected-react-router, as I copied this line from a project from a few months ago.
export const history = createBrowserHistory({ basename: process.env.PUBLIC_URL, });