oasis
oasis copied to clipboard
chore(deps): bump react-router from 5.2.0 to 5.3.3
Bumps react-router from 5.2.0 to 5.3.3.
Release notes
Sourced from react-router's releases.
v5.3.3
This release fixes a bad version selector in react-router-native.
v5.3.2
Changes
- Fix: make v5 Router compatible with v18 StrictMode by
@jgoz
in remix-run/react-router#8831v5.3.1
This release adds missing
LICENSE
files to the published build.v5.3.0
This release of
react-router-dom
adds support for passing a function to either theclassName
orstyle
props to conditionally apply values based on the link'sactive
state.This provides similar functionality as the existing
activeClassName
andactiveStyle
props, but is a bit more powerful. For example, you can now easily apply styles exclusively to an inactiveNavLink
as well. This offers a nicer experience for folks who use utility class-based CSS tools such as Tailwind.function Comp() { return ( <NavLink to="/" className={isActive => `px-3 py-2 ${isActive ? 'text-gray-200' : 'text-gray-800'}` } > Home </NavLink> ); }
Note that as of
v6.0.0-beta.3
, theactiveClassName
andactiveStyle
props are removed completely. Adding support for functional className and style props to both v5 and v6 will give v5 users an easier upgrade path.Thanks to
@tim-phillips
for raising the issue that inspired the change! 🥳v5.2.1
This release fixes a bug with
<Link>
so that, when theto
location is the same as the current, the history state entry is replaced instead of pushed to the stack. See remix-run/react-router#5362 for details. 🥳Thanks to
@guidobouman
for the PR and for everyone else who weighed in for the fix!
Commits
3679baf
v5.3.31a69e8a
v5.3.2a68510f
Fix: make v5 Router compatible with v18 StrictMode (#8831)d8098b6
chore: update React Training refs to Remix1bd0fb5
v5.3.10fbc4c4
chore: add missing LICENSE files to package.json (#8075)320be7a
chore: add repository directory for all packages.json [skip ci] (#8124)c64bbce
Update references to ReactTraining (#8082)fe82627
Add LICENSE files to the packagesf82c4e1
Fix typo in file name (#8036)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)