v6.0.0-beta.1
Pre-release
Pre-release
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/*). Linkandnavigateshould properly respect thebasenamewhen using absolute paths.
β¨ Enhancements
- Internally we are separating
navigatorinto a separate context object, meaning your components that calluseNavigatewill probably render a little less often. Wowza, much perf! react-router-domandreact-router-nativenow 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!