npm react-router-dom 6.0.0-beta.1
v6.0.0-beta.1

latest releases: 0.0.0-experimental-f20b6b7b0, 0.0.0-experimental-16086cbff, 0.0.0-nightly-da617bbed-20241113...
3 years ago

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

✨ Enhancements

  • Internally we are separating navigator into a separate context object, meaning your components that call useNavigate will probably render a little less often. Wowza, much perf!
  • react-router-dom and react-router-native now re-exports all types exported from react-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!

Don't miss a new react-router-dom release

NewReleases is sending notifications on new releases.