Open stepsen89 opened 2 weeks ago
<Router history={history}>
this bit of code only works with historyv4
and react react-router-dom-5
. but there are new verisons available for these history5
and react-router-dom6
. We could use <Router location={location.href} navigator={history}>
for the latest versions
Jest package and NextJS is causing issues when testing next js internal router This needs to be addressed no normal test should be affected, if the component is not using
withRouter
(as the header does)