Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 24, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-router-dom (source) 5.1.25.3.4 age adoption passing confidence

Release Notes

remix-run/react-router (react-router-dom)

v5.3.4

Compare Source

We removed the mini-create-react-context dependency, moving it into an internal module to eliminate peer dependency warnings for users on React 18 (#​9382).

Full Changelog: remix-run/react-router@v5.3.3...v5.3.4

v5.3.3

Compare Source

This release fixes a bad version selector in react-router-native.

v5.3.2

Compare Source

v5.3.1

Compare Source

This release adds missing LICENSE files to the published build.

v5.3.0

Compare Source

This release of react-router-dom adds support for passing a function to either the className or style props to conditionally apply values based on the link's active state.

This provides similar functionality as the existing activeClassName and activeStyle props, but is a bit more powerful. For example, you can now easily apply styles exclusively to an inactive NavLink 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, the activeClassName and activeStyle 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

Compare Source

This release fixes a bug with <Link> so that, when the to location is the same as the current, the history state entry is replaced instead of pushed to the stack. See #​5362 for details. 🥳

Thanks to @​guidobouman for the PR and for everyone else who weighed in for the fix!

v5.2.0

Compare Source

This release includes a notable performance boost by separating the "Router" context from the "History" context internally. We also allow every element type for Link's component prop and support a sensitive prop on NavLink for control over case sensitive matching.

Enjoy!

Changes


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/react-router-dom-5.x-lockfile branch from cb1a8eb to e97f786 Compare January 31, 2024 03:45
@renovate renovate bot force-pushed the renovate/react-router-dom-5.x-lockfile branch from e97f786 to 52ae633 Compare February 11, 2024 06:27
@renovate renovate bot force-pushed the renovate/react-router-dom-5.x-lockfile branch 2 times, most recently from fad0a0b to e7ab2e9 Compare January 30, 2025 19:09
@renovate renovate bot force-pushed the renovate/react-router-dom-5.x-lockfile branch from e7ab2e9 to e889e12 Compare March 3, 2025 11:44
@renovate renovate bot force-pushed the renovate/react-router-dom-5.x-lockfile branch from e889e12 to 1bdea8a Compare March 13, 2025 18:59
@renovate renovate bot force-pushed the renovate/react-router-dom-5.x-lockfile branch from 1bdea8a to 0560097 Compare April 1, 2025 12:08
@renovate renovate bot force-pushed the renovate/react-router-dom-5.x-lockfile branch from 0560097 to 5f9c7e1 Compare May 19, 2025 16:01
@renovate renovate bot force-pushed the renovate/react-router-dom-5.x-lockfile branch from 5f9c7e1 to 2d2e55e Compare May 28, 2025 10:05
@renovate renovate bot force-pushed the renovate/react-router-dom-5.x-lockfile branch from 2d2e55e to 6ac617c Compare June 6, 2025 00:56
@renovate renovate bot force-pushed the renovate/react-router-dom-5.x-lockfile branch from 6ac617c to 1afa0d7 Compare August 10, 2025 13:56
@renovate renovate bot force-pushed the renovate/react-router-dom-5.x-lockfile branch from 1afa0d7 to e3b5c00 Compare August 19, 2025 15:37
@renovate renovate bot force-pushed the renovate/react-router-dom-5.x-lockfile branch from e3b5c00 to bfd386c Compare September 25, 2025 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant