Closed raDiesle closed 4 years ago
In newer versions of react-router-dom ( v5.1.5), support changed:
BrowserRouter does not accept prop "basename", but BrowserRouter does not accept to pass "history" prop.
Is there a solution to support both?
Found solution by createBrowserHistory({ basename: '/your/app' });
In newer versions of react-router-dom ( v5.1.5), support changed:
BrowserRouter does not accept prop "basename", but BrowserRouter does not accept to pass "history" prop.
Is there a solution to support both?