v6.0.0-beta.2
Pre-release
Pre-release
π Bugfixes
- Fixed a bug that broke paths in nested routes
- Adds missing
displayName
back to<Link />
and<NavLink />
components
β¨ Enhancements
- The
navigate
function now prepends hash and search strings by default: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:
$ npm install history react-router-dom@next
π Credits
Thanks to @liho98, @wojtekmaj, @cravend, @chaance and @mjackson for your contributions!
Enjoy!