You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Snyk] Upgrade react from 19.3.0 to 19.3.1 - #2832
Snyk has created this PR to upgrade react from 19.3.0 to 19.3.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 1 version ahead of your current version.
The recommended version was released 2 months ago.
browser(): a new react-dom API that returns a usable which errors during server rendering and resolves in the browser. use(browser()) inside a <Suspense> boundary marks a subtree as browser-only without reporting a recoverable error (@ gnoff: #37143, #37241)
Added an onBrowserBailout option to the react-dom/server APIs to observe when a subtree defers to the browser (@ gnoff#37193)
Transitions now render independently instead of being entangled into a single render, so a slow transition no longer holds up unrelated ones (@ acdlite#37290)
Added a DEV-only warning when a component appears to have been unblocked by calling use() conditionally (@ hoxyq, @ eps1lon: #37104, #37203, #37491)
All Changes
React
Fast Refresh Fixes
Fix Fast Refresh to find and remount edits to components wrapped behind lazy() (@ sophiebits#36965)
Fix Fast Refresh so edits to a memo() comparison function take effect (@ sophiebits#36964)
Fix Fast Refresh crash when an edit changes the kind of a component's type (@ sophiebits#36963)
This is a patch version upgrade from react 19.3.0 to 19.3.1. The official release notes state that this version contains a single change to improve the transport protocol for React Server Components. No breaking changes are documented, and no developer action is required for most applications. For teams that use React Server Components, the change is related to the transport protocol, but the release notes do not specify any required code modifications.
Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You have signed the CLA already but the status is still pending? Let us recheck it.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You have signed the CLA already but the status is still pending? Let us recheck it.
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
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.
Snyk has created this PR to upgrade react from 19.3.0 to 19.3.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 1 version ahead of your current version.
The recommended version was released 2 months ago.
Breaking Change Risk
Release notes
Package name: react
Below is a list of all new features, APIs, and bug fixes.
Read the React 19.3 release post for more information.
New React Features
<ViewTransition />: Adds<ViewTransition />andaddTransitionTypeAPIs to power View Transition animations in React (@ sebmarkbage, @ jackpope, @ gaearon: #31975, #31987, #31996, #31999, #32001, #32002, #32028, #32029, #32031, #32034, #32038, #32041, #32050, #32090, #32105, #32254, #32379, #32422, #32462, #32540, #32545, #32585, #32599, #32611, #32612, #32617, #32651, #32653, #32656, #32664, #32699, #32723, #32734, #32751, #32752, #32760, #32761, #32764, #32772, #32790, #32819, #32820, #32822, #32833, #32849, #33094, #33191, #33200, #33206, #33293, #33330, #33331, #33332, #33357, #33362, #33433, #33576, #34374, #34450, #34481, #34500, #34502, #34510, #34511, #34539, #35567, #35564, #35485, #35380, #35063, #35060, #34676, #36917, #35337, #35520)<Fragment />to support composable platform behavior (@ jackpope, @ sebmarkbage, @ eps1lon, @ Dhakshin2007, @ chirokas, @ teamleaderleo, @ fallintoplace: #32465, #32613, #32619, #32654, #32660, #32682, #32722, #32813, #32814, #33056, #33058, #33093, #34069, #34103, #34544, #34545, #37062, #37061, #37060, #36047, #36010, #35642, #35641, #35637, #35630, #34935, #37457, #37408, #37326, #37251, #37171, #37169, #37168, #37167, #37166, #37165, #37164, #37163, #37162, #37161, #37160, #37125, #37063)New React DOM Features
browser(): a newreact-domAPI that returns a usable which errors during server rendering and resolves in the browser.use(browser())inside a<Suspense>boundary marks a subtree as browser-only without reporting a recoverable error (@ gnoff: #37143, #37241)onBrowserBailoutoption to thereact-dom/serverAPIs to observe when a subtree defers to the browser (@ gnoff #37193)Notable changes
use()conditionally (@ hoxyq, @ eps1lon: #37104, #37203, #37491)All Changes
React
lazy()(@ sophiebits #36965)memo()comparison function take effect (@ sophiebits #36964)$$typeofin Performance Tracks (@ eps1lon #35679)-) instead of en dash for removed props in Performance Tracks (@ eps1lon #35649)useSyncExternalStoremissing store mutations that happened while an Activity tree was hidden (@ sophiebits #36947)<Activity>trees (@ ronnakamoto #34983)<Offscreen>component in error messages (@ rickhanlonii #35763)use()(@ hoxyq, @ eps1lon: #37104, #37203, #37491)useDeferredValuegetting stuck (@ gaearon #36134)useActionStateerror message to say "action state" instead of "form state" (@ rickhanlonii #35790)getNearestMountedFiber(@ sebmarkbage #35578).defaultexport of aReact.lazyas the canonical value (@ sebmarkbage #34906)useEffectEventreads latest values inforwardRefandmemo()components (@ eps1lon #34831)React DOM
sourceonto the synthetictoggleevent (@ lazerg #37389)<select>parser (@ josepharhar #34804)defaultValuefortype="number"inputs to match other input types (@ sophiebits #36980)innerHTMLwhen it hasn't changed (@ sophiebits #36949)nonceoption inReactDOM.preloadModule()(@ UditDewan #36851)fetchPriorityfor module resources (@ TheAlexLichter #36835)credentiallessiframe attribute (@ vmx906 #36322)credentiallessas a recognized boolean attribute for iframes (@ vmx906 #36148)finishedTaskfrom callingcompleteAllmultiple times (@ gnoff #36287)maskTypeSVG prop (@ sleitor #35921)onFullscreenChangeandonFullscreenErrorevents (@ chirokas #34621)submitterinsubmitevents (@ eps1lon #35590)onResetwhen automatically resetting forms (@ eps1lon #35176)FormDatasubmitterparameter (@ jenseng #29028)resizeevents until the next frame (@ eps1lon #35117)React Server
nonceto rendered import maps (@ mattcosta7 #37339)onBrowserBailoutoption to observe subtrees that defer to the browser (@ gnoff #37193)react-dom/serverhanging on Deno (@ fraidev #35235)nonceattributes (@ MaxwellCohen #37030)onAllReadyafter the shell errored (@ eps1lon #36903)modulepreloadtracking (@ fallintoplace #36564)nextSegmentIdafter the prelude flush (@ gaojude #36779)referrerPolicyin image preload headers (@ ulises-jeremias #36803)