react-router v6
daniel-ac-martin
released this
01 Sep 21:02
·
463 commits
to master
since this release
Upgrades react-router to v6.
Also updates react-helmet-async to v2.
BREAKING:
- You will need to upgrade react-router and react-router-dom to v6.
- You may need to upgrade react-helmet-async to v2.
- Pages will no longer receive the router props (match, location, history), to access these you will need to use the hooks provided by @not-govuk/route-utils (or directly from react-router). For an example see: 61022dd