npm react-router 6.0.0-beta.2

🐛 Bugfixes

✨ Enhancements

  • The navigate function now prepends hash and search strings by default:
    js navigate({ search: "?foo=1&bar=2" }); // this works as expected! navigate({ search: "foo=1&bar=2" }); // this also works!
    - useParams now returns parameters from nested <Route />s when called in a parent <Route />
    ## 💻 Installing
    Development for v6 is chugging along on the dev branch.
    If you'd like to test it out, install from npm:
    bash $ npm install history react-router-dom@next

🙏 Credits

Thanks to @liho98, @wojtekmaj, @cravend, @chaance and @mjackson for your contributions!


latest releases: 6.0.0-beta.4, 6.0.0-beta.3, 5.2.1...
27 days ago