npm react-router 6.0.0-beta.1

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!


latest releases: 6.0.0-beta.4, 6.0.0-beta.3, 5.2.1...
one month ago