build(deps): React 19 + React Router 8 - #280
Open
dependabot[bot] wants to merge 2 commits into
Open
Conversation
Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) from 7.18.0 to 8.3.0. - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router@8.3.0/packages/react-router) --- updated-dependencies: - dependency-name: react-router dependency-version: 8.3.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
React Router v8 requires React >= 19.2.7 and makes middleware mandatory,
so the loader context is now a RouterContextProvider instead of a plain
AppLoadContext object.
- Pin react-router and @react-router/{node,serve,dev} in lockstep at
^8.2.0 (8.3.0 is newer than the 7-day npmMinimalAgeGate in .yarnrc.yml
and cannot resolve yet; 8.2.0 still delivers the major bump)
- Upgrade react/react-dom to ^19.2.7 and @types/react{,-dom} to v19
- Replace ad-hoc AppLoadContext properties (cacheControl, textPlainBody)
with typed router contexts created via createContext, using the
context.get/set API in entry.server.tsx and route loaders
- Give both contexts a null default; an undefined default makes
RouterContextProvider.get() throw "No value found for context"
- useRef<NodeJS.Timeout>() now requires an explicit initial value with
React 19 types
- Bump .nvmrc to 22.22.0 to match react-router v8's engines requirement
jkleinsc
approved these changes
Jul 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps react-router from 7.18.0 to 8.3.0.
Release notes
Sourced from react-router's releases.
Changelog
Sourced from react-router's changelog.
... (truncated)
Commits
2edaca7Release v8.3.0 (#15294)687ab72Prep release notesd2f1f1bupdate changes files to use h4 instead of h3 (#15334)8186207fix(rsc): preserve component metadata for client loader revalidation (#15323)c26e431feat(rsc): support CSP nonces in document rendering (#15320)6286f90feat(rsc): reload stale clients after new deployments (#15318)3d83ad4docs: fix useLinkClickHandler defaultShouldRevalidate default description (#1...f75c89fUpdate docs links to v8 API reference (#15316)baa9ba6fix: encode path params per RFC 3986 path-segment rules in href/generatePath ...69debd1fix: apply NavLink pending state when the to prop has a trailing slash (#15300)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.