javascript - You should not use Route or withRouter() outside a Router when using react-router 4 and styled-component in react - Stack Overflow
Invariant Violation: You should not use <Route> or withRouter() outside a < Router> · Issue #1112 · enzymejs/enzyme · GitHub
You should not use <Route> or withRouter() outside a <Router> · Issue #6237 · remix-run/react-router · GitHub
![You should not use <Route> or withRouter() outside a <Router> · Issue #6237 · remix-run/react-router · GitHub You should not use <Route> or withRouter() outside a <Router> · Issue #6237 · remix-run/react-router · GitHub](https://user-images.githubusercontent.com/9293248/42213600-de5dd4d2-7ed6-11e8-895d-a73b9c91d212.jpg)
You should not use <Route> or withRouter() outside a <Router> · Issue #6237 · remix-run/react-router · GitHub
![bug: React Router 5.0 breaks with "You should not use <Route> or withRouter() outside a <Router>" · Issue #18400 · ionic-team/ionic-framework · GitHub bug: React Router 5.0 breaks with "You should not use <Route> or withRouter() outside a <Router>" · Issue #18400 · ionic-team/ionic-framework · GitHub](https://user-images.githubusercontent.com/11214/58506689-9ac02e00-8155-11e9-9830-4a846acc9cc8.png)
bug: React Router 5.0 breaks with "You should not use <Route> or withRouter() outside a <Router>" · Issue #18400 · ionic-team/ionic-framework · GitHub
![reactjs - Jest, Enzyme: Invariant Violation: You should not use <Route> or withRouter() outside a <Router> - Stack Overflow reactjs - Jest, Enzyme: Invariant Violation: You should not use <Route> or withRouter() outside a <Router> - Stack Overflow](https://lh6.googleusercontent.com/-n4PDyH3wYzc/AAAAAAAAAAI/AAAAAAAAAB8/G1QxsGvbRb8/photo.jpg?sz=64)