![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
react-router: `withRouter` narrows components with `any` prop type to `{}` · Issue #24070 · DefinitelyTyped/DefinitelyTyped · GitHub
![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
withRouter' is not exported from 'react-router-dom · remix-run react-router · Discussion #8510 · GitHub
![types/react-router : withRouter with react-redux connect · Issue #18999 · DefinitelyTyped/DefinitelyTyped · GitHub types/react-router : withRouter with react-redux connect · Issue #18999 · DefinitelyTyped/DefinitelyTyped · GitHub](https://user-images.githubusercontent.com/884065/37457453-2a3388a8-2896-11e8-965d-f37cd63c6ab2.png)