We're on the road to a stable v6 release!
There are no new features in this release since beta.0
, but a handful of squashed bugs, perf enhancements, and DX improvements for TypeScript users.
🐛 Bugfixes
- Fixed a few bugs with pathname resolution.
+
characters no longer get decoded into spaces, and that little*
is just a little less greedy (e.g.,app/*
no longer matchesapples/*
). Link
andnavigate
should properly respect thebasename
when using absolute paths.
✨ Enhancements
- Internally we are separating
navigator
into a separate context object, meaning your components that calluseNavigate
will probably render a little less often. Wowza, much perf! react-router-dom
andreact-router-native
now re-exports all types exported fromreact-router
💻 Installing
Development for v6 is chugging along on the dev
branch.
If you'd like to test it out, install from npm:
$ npm install history react-router-dom@next
🙏 Credits
Thanks to @brookslybrand, @bogdansoare, @chaance and @mjackson for your contributions!
Enjoy!