![javascript - connected-react-router - You should not use <Route> outside a < Router> - Stack Overflow javascript - connected-react-router - You should not use <Route> outside a < Router> - Stack Overflow](https://i.stack.imgur.com/sty8o.png)
javascript - connected-react-router - You should not use <Route> outside a < Router> - Stack Overflow
![Error: Invariant failed: You should not use <withRouter(App) /> outside a < Router> · Issue #3 · pact-foundation/pact-workshop-js · GitHub Error: Invariant failed: You should not use <withRouter(App) /> outside a < Router> · Issue #3 · pact-foundation/pact-workshop-js · GitHub](https://user-images.githubusercontent.com/212582/82198403-2b0dfa80-98f4-11ea-9fb2-d2fc27e8d645.png)
Error: Invariant failed: You should not use <withRouter(App) /> outside a < Router> · Issue #3 · pact-foundation/pact-workshop-js · GitHub
![javascript - Attempted import error: 'Routes' is not exported from 'react- router-dom' - Stack Overflow javascript - Attempted import error: 'Routes' is not exported from 'react- router-dom' - Stack Overflow](https://i.stack.imgur.com/Gut2P.png)
javascript - Attempted import error: 'Routes' is not exported from 'react- router-dom' - Stack Overflow
withRouter' is not exported from 'react-router-dom · remix-run react-router · Discussion #8510 · GitHub
![50. Switch Component. Pass Object to Link. send Props to inner component using withRouter - React - YouTube 50. Switch Component. Pass Object to Link. send Props to inner component using withRouter - React - YouTube](https://i.ytimg.com/vi/GlrFiwfeaAk/maxresdefault.jpg)