Skip to content

Upgrade React from b6c0aa88-20250609 to b7e2de63-20250611 #80417

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,16 +233,16 @@
"pretty-ms": "7.0.0",
"random-seed": "0.3.0",
"react": "19.0.0",
"react-builtin": "npm:[email protected]b6c0aa88-20250609",
"react-builtin": "npm:[email protected]b7e2de63-20250611",
"react-dom": "19.0.0",
"react-dom-builtin": "npm:[email protected]b6c0aa88-20250609",
"react-dom-experimental-builtin": "npm:[email protected]b6c0aa88-20250609",
"react-experimental-builtin": "npm:[email protected]b6c0aa88-20250609",
"react-is-builtin": "npm:[email protected]b6c0aa88-20250609",
"react-server-dom-turbopack": "19.2.0-canary-b6c0aa88-20250609",
"react-server-dom-turbopack-experimental": "npm:[email protected]b6c0aa88-20250609",
"react-server-dom-webpack": "19.2.0-canary-b6c0aa88-20250609",
"react-server-dom-webpack-experimental": "npm:[email protected]b6c0aa88-20250609",
"react-dom-builtin": "npm:[email protected]b7e2de63-20250611",
"react-dom-experimental-builtin": "npm:[email protected]b7e2de63-20250611",
"react-experimental-builtin": "npm:[email protected]b7e2de63-20250611",
"react-is-builtin": "npm:[email protected]b7e2de63-20250611",
"react-server-dom-turbopack": "19.2.0-canary-b7e2de63-20250611",
"react-server-dom-turbopack-experimental": "npm:[email protected]b7e2de63-20250611",
"react-server-dom-webpack": "19.2.0-canary-b7e2de63-20250611",
"react-server-dom-webpack-experimental": "npm:[email protected]b7e2de63-20250611",
"react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3",
"relay-compiler": "13.0.2",
Expand All @@ -252,8 +252,8 @@
"resolve-from": "5.0.0",
"sass": "1.54.0",
"satori": "0.12.2",
"scheduler-builtin": "npm:[email protected]b6c0aa88-20250609",
"scheduler-experimental-builtin": "npm:[email protected]b6c0aa88-20250609",
"scheduler-builtin": "npm:[email protected]b7e2de63-20250611",
"scheduler-experimental-builtin": "npm:[email protected]b7e2de63-20250611",
"seedrandom": "3.0.5",
"semver": "7.3.7",
"shell-quote": "1.7.3",
Expand Down Expand Up @@ -296,10 +296,10 @@
"@types/react-dom": "19.1.2",
"@types/retry": "0.12.0",
"jest-snapshot": "30.0.0-alpha.6",
"react": "19.2.0-canary-b6c0aa88-20250609",
"react-dom": "19.2.0-canary-b6c0aa88-20250609",
"react-is": "19.2.0-canary-b6c0aa88-20250609",
"scheduler": "0.27.0-canary-b6c0aa88-20250609"
"react": "19.2.0-canary-b7e2de63-20250611",
"react-dom": "19.2.0-canary-b7e2de63-20250611",
"react-is": "19.2.0-canary-b7e2de63-20250611",
"scheduler": "0.27.0-canary-b7e2de63-20250611"
},
"patchedDependencies": {
"[email protected]": "patches/[email protected]",
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ var assign = Object.assign,
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
REACT_PROVIDER_TYPE = Symbol.for("react.provider"),
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
Expand Down Expand Up @@ -306,7 +305,7 @@ function getComponentNameFromType(type) {
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:
return (type.displayName || "Context") + ".Provider";
return type.displayName || "Context";
case REACT_CONSUMER_TYPE:
return (type._context.displayName || "Context") + ".Consumer";
case REACT_FORWARD_REF_TYPE:
Expand Down Expand Up @@ -2699,7 +2698,6 @@ function createFiberFromTypeAndProps(
default:
if ("object" === typeof type && null !== type)
switch (type.$$typeof) {
case REACT_PROVIDER_TYPE:
case REACT_CONTEXT_TYPE:
fiberTag = 10;
break a;
Expand Down Expand Up @@ -7463,7 +7461,8 @@ function initSuspenseListRenderState(
isBackwards,
tail,
lastContentRow,
tailMode
tailMode,
treeForkCount
) {
var renderState = workInProgress.memoizedState;
null === renderState
Expand All @@ -7473,14 +7472,16 @@ function initSuspenseListRenderState(
renderingStartTime: 0,
last: lastContentRow,
tail: tail,
tailMode: tailMode
tailMode: tailMode,
treeForkCount: treeForkCount
})
: ((renderState.isBackwards = isBackwards),
(renderState.rendering = null),
(renderState.renderingStartTime = 0),
(renderState.last = lastContentRow),
(renderState.tail = tail),
(renderState.tailMode = tailMode));
(renderState.tailMode = tailMode),
(renderState.treeForkCount = treeForkCount));
}
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
var nextProps = workInProgress.pendingProps,
Expand All @@ -7495,6 +7496,7 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
: (suspenseContext &= 1);
push(suspenseStackCursor, suspenseContext);
reconcileChildren(current, workInProgress, nextProps, renderLanes);
nextProps = isHydrating ? treeForkCount : 0;
if (!shouldForceFallback && null !== current && 0 !== (current.flags & 128))
a: for (current = workInProgress.child; null !== current; ) {
if (13 === current.tag)
Expand Down Expand Up @@ -7534,7 +7536,8 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
!1,
revealOrder,
renderLanes,
tailMode
tailMode,
nextProps
);
break;
case "backwards":
Expand All @@ -7557,11 +7560,19 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
!0,
renderLanes,
null,
tailMode
tailMode,
nextProps
);
break;
case "together":
initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
initSuspenseListRenderState(
workInProgress,
!1,
null,
null,
void 0,
nextProps
);
break;
default:
workInProgress.memoizedState = null;
Expand Down Expand Up @@ -8799,12 +8810,12 @@ function completeWork(current, workInProgress, renderLanes) {
);
case 19:
pop(suspenseStackCursor);
type = workInProgress.memoizedState;
if (null === type) return bubbleProperties(workInProgress), null;
newProps = 0 !== (workInProgress.flags & 128);
nextResource = type.rendering;
newProps = workInProgress.memoizedState;
if (null === newProps) return bubbleProperties(workInProgress), null;
type = 0 !== (workInProgress.flags & 128);
nextResource = newProps.rendering;
if (null === nextResource)
if (newProps) cutOffTailIfNeeded(type, !1);
if (type) cutOffTailIfNeeded(newProps, !1);
else {
if (
0 !== workInProgressRootExitStatus ||
Expand All @@ -8814,7 +8825,7 @@ function completeWork(current, workInProgress, renderLanes) {
nextResource = findFirstSuspended(current);
if (null !== nextResource) {
workInProgress.flags |= 128;
cutOffTailIfNeeded(type, !1);
cutOffTailIfNeeded(newProps, !1);
current = nextResource.updateQueue;
workInProgress.updateQueue = current;
scheduleRetryEffect(workInProgress, current);
Expand All @@ -8827,62 +8838,68 @@ function completeWork(current, workInProgress, renderLanes) {
suspenseStackCursor,
(suspenseStackCursor.current & 1) | 2
);
isHydrating &&
pushTreeFork(workInProgress, newProps.treeForkCount);
return workInProgress.child;
}
current = current.sibling;
}
null !== type.tail &&
null !== newProps.tail &&
now() > workInProgressRootRenderTargetTime &&
((workInProgress.flags |= 128),
(newProps = !0),
cutOffTailIfNeeded(type, !1),
(type = !0),
cutOffTailIfNeeded(newProps, !1),
(workInProgress.lanes = 4194304));
}
else {
if (!newProps)
if (!type)
if (
((current = findFirstSuspended(nextResource)), null !== current)
) {
if (
((workInProgress.flags |= 128),
(newProps = !0),
(type = !0),
(current = current.updateQueue),
(workInProgress.updateQueue = current),
scheduleRetryEffect(workInProgress, current),
cutOffTailIfNeeded(type, !0),
null === type.tail &&
"hidden" === type.tailMode &&
cutOffTailIfNeeded(newProps, !0),
null === newProps.tail &&
"hidden" === newProps.tailMode &&
!nextResource.alternate &&
!isHydrating)
)
return bubbleProperties(workInProgress), null;
} else
2 * now() - type.renderingStartTime >
2 * now() - newProps.renderingStartTime >
workInProgressRootRenderTargetTime &&
536870912 !== renderLanes &&
((workInProgress.flags |= 128),
(newProps = !0),
cutOffTailIfNeeded(type, !1),
(type = !0),
cutOffTailIfNeeded(newProps, !1),
(workInProgress.lanes = 4194304));
type.isBackwards
newProps.isBackwards
? ((nextResource.sibling = workInProgress.child),
(workInProgress.child = nextResource))
: ((current = type.last),
: ((current = newProps.last),
null !== current
? (current.sibling = nextResource)
: (workInProgress.child = nextResource),
(type.last = nextResource));
(newProps.last = nextResource));
}
if (null !== type.tail)
if (null !== newProps.tail)
return (
(workInProgress = type.tail),
(type.rendering = workInProgress),
(type.tail = workInProgress.sibling),
(type.renderingStartTime = now()),
(workInProgress.sibling = null),
(current = suspenseStackCursor.current),
push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),
workInProgress
(current = newProps.tail),
(newProps.rendering = current),
(newProps.tail = current.sibling),
(newProps.renderingStartTime = now()),
(current.sibling = null),
(renderLanes = suspenseStackCursor.current),
push(
suspenseStackCursor,
type ? (renderLanes & 1) | 2 : renderLanes & 1
),
isHydrating && pushTreeFork(workInProgress, newProps.treeForkCount),
current
);
bubbleProperties(workInProgress);
return null;
Expand Down Expand Up @@ -19139,14 +19156,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2180 = React.version;
if (
"19.2.0-experimental-b6c0aa88-20250609" !==
"19.2.0-experimental-b7e2de63-20250611" !==
isomorphicReactPackageVersion$jscomp$inline_2180
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2180,
"19.2.0-experimental-b6c0aa88-20250609"
"19.2.0-experimental-b7e2de63-20250611"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -19168,10 +19185,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2865 = {
bundleType: 0,
version: "19.2.0-experimental-b6c0aa88-20250609",
version: "19.2.0-experimental-b7e2de63-20250611",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-experimental-b6c0aa88-20250609"
reconcilerVersion: "19.2.0-experimental-b7e2de63-20250611"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2866 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -19278,4 +19295,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-experimental-b6c0aa88-20250609";
exports.version = "19.2.0-experimental-b7e2de63-20250611";
Loading
Loading