Adding BrowserRouter works (example below), but the install says "Wrap your react-router v4/v5 routing with ConnectedRouter and pass the history object as a prop. Remember to delete any usage of BrowserRouter or NativeRouter as leaving this in will cause problems synchronising the state."
I have ran
npm update
and installed the latest connected-react-router and now I get this error. I haven't changed any code.This breaks:
Adding BrowserRouter works (example below), but the install says "Wrap your react-router v4/v5 routing with ConnectedRouter and pass the history object as a prop. Remember to delete any usage of BrowserRouter or NativeRouter as leaving this in will cause problems synchronising the state."