Skip to content
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 @@ -232,16 +232,16 @@
"pretty-ms": "7.0.0",
"random-seed": "0.3.0",
"react": "19.0.0",
"react-builtin": "npm:react@19.2.0-canary-462d08f9-20250517",
"react-builtin": "npm:react@19.2.0-canary-c4676e72-20250520",
"react-dom": "19.0.0",
"react-dom-builtin": "npm:react-dom@19.2.0-canary-462d08f9-20250517",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-462d08f9-20250517",
"react-experimental-builtin": "npm:react@0.0.0-experimental-462d08f9-20250517",
"react-is-builtin": "npm:react-is@19.2.0-canary-462d08f9-20250517",
"react-server-dom-turbopack": "19.2.0-canary-462d08f9-20250517",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-462d08f9-20250517",
"react-server-dom-webpack": "19.2.0-canary-462d08f9-20250517",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-462d08f9-20250517",
"react-dom-builtin": "npm:react-dom@19.2.0-canary-c4676e72-20250520",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-c4676e72-20250520",
"react-experimental-builtin": "npm:react@0.0.0-experimental-c4676e72-20250520",
"react-is-builtin": "npm:react-is@19.2.0-canary-c4676e72-20250520",
"react-server-dom-turbopack": "19.2.0-canary-c4676e72-20250520",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-c4676e72-20250520",
"react-server-dom-webpack": "19.2.0-canary-c4676e72-20250520",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-c4676e72-20250520",
"react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3",
"relay-compiler": "13.0.2",
Expand All @@ -251,8 +251,8 @@
"resolve-from": "5.0.0",
"sass": "1.54.0",
"satori": "0.12.2",
"scheduler-builtin": "npm:scheduler@0.27.0-canary-462d08f9-20250517",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-462d08f9-20250517",
"scheduler-builtin": "npm:scheduler@0.27.0-canary-c4676e72-20250520",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-c4676e72-20250520",
"seedrandom": "3.0.5",
"semver": "7.3.7",
"shell-quote": "1.7.3",
Expand Down Expand Up @@ -295,10 +295,10 @@
"@types/react-dom": "19.1.2",
"@types/retry": "0.12.0",
"jest-snapshot": "30.0.0-alpha.6",
"react": "19.2.0-canary-462d08f9-20250517",
"react-dom": "19.2.0-canary-462d08f9-20250517",
"react-is": "19.2.0-canary-462d08f9-20250517",
"scheduler": "0.27.0-canary-462d08f9-20250517"
"react": "19.2.0-canary-c4676e72-20250520",
"react-dom": "19.2.0-canary-c4676e72-20250520",
"react-is": "19.2.0-canary-c4676e72-20250520",
"scheduler": "0.27.0-canary-c4676e72-20250520"
},
"patchedDependencies": {
"webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6859,6 +6859,29 @@
}
};
}
function validateSuspenseListNestedChild(childSlot, index) {
var isAnArray = isArrayImpl(childSlot),
isIterable =
!isAnArray && "function" === typeof getIteratorFn(childSlot);
childSlot =
"object" === typeof childSlot &&
null !== childSlot &&
"function" === typeof childSlot[ASYNC_ITERATOR];
return isAnArray || isIterable || childSlot
? ((isAnArray = isAnArray
? "array"
: childSlot
? "async iterable"
: "iterable"),
console.error(
"A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",
isAnArray,
index,
isAnArray
),
!1)
: !0;
}
function initializeUpdateQueue(fiber) {
fiber.updateQueue = {
baseState: fiber.memoizedState,
Expand Down Expand Up @@ -10896,20 +10919,6 @@
propagationRoot
);
}
function validateSuspenseListNestedChild(childSlot, index) {
var isAnArray = isArrayImpl(childSlot);
childSlot = !isAnArray && "function" === typeof getIteratorFn(childSlot);
return isAnArray || childSlot
? ((isAnArray = isAnArray ? "array" : "iterable"),
console.error(
"A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",
isAnArray,
index,
isAnArray
),
!1)
: !0;
}
function initSuspenseListRenderState(
workInProgress,
isBackwards,
Expand Down Expand Up @@ -10939,6 +10948,15 @@
revealOrder = nextProps.revealOrder,
tailMode = nextProps.tail;
nextProps = nextProps.children;
var suspenseContext = suspenseStackCursor.current,
shouldForceFallback = 0 !== (suspenseContext & ForceSuspenseFallback);
shouldForceFallback
? ((suspenseContext =
(suspenseContext & SubtreeSuspenseContextMask) |
ForceSuspenseFallback),
(workInProgress.flags |= 128))
: (suspenseContext &= SubtreeSuspenseContextMask);
push(suspenseStackCursor, suspenseContext, workInProgress);
if (
void 0 !== revealOrder &&
"forwards" !== revealOrder &&
Expand Down Expand Up @@ -11001,55 +11019,74 @@
!1 !== nextProps
)
if (isArrayImpl(nextProps))
for (var i = 0; i < nextProps.length; i++) {
if (!validateSuspenseListNestedChild(nextProps[i], i)) break a;
for (
suspenseContext = 0;
suspenseContext < nextProps.length;
suspenseContext++
) {
if (
!validateSuspenseListNestedChild(
nextProps[suspenseContext],
suspenseContext
)
)
break a;
}
else if (((i = getIteratorFn(nextProps)), "function" === typeof i)) {
if ((i = i.call(nextProps)))
for (var step = i.next(), _i = 0; !step.done; step = i.next()) {
else if (
((suspenseContext = getIteratorFn(nextProps)),
"function" === typeof suspenseContext)
) {
if ((suspenseContext = suspenseContext.call(nextProps)))
for (
var step = suspenseContext.next(), _i = 0;
!step.done;
step = suspenseContext.next()
) {
if (!validateSuspenseListNestedChild(step.value, _i)) break a;
_i++;
}
} else
console.error(
'A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',
revealOrder
);
"function" !== typeof nextProps[ASYNC_ITERATOR] &&
(nextProps.$$typeof !== REACT_ELEMENT_TYPE ||
"function" !== typeof nextProps.type ||
("[object GeneratorFunction]" !==
Object.prototype.toString.call(nextProps.type) &&
"[object AsyncGeneratorFunction]" !==
Object.prototype.toString.call(nextProps.type))
? console.error(
'A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',
revealOrder
)
: console.error(
'A generator Component was passed to a <SuspenseList revealOrder="%s" />. This is not supported as a way to generate lists. Instead, pass an iterable as the children.',
revealOrder
));
reconcileChildren(current, workInProgress, nextProps, renderLanes);
nextProps = suspenseStackCursor.current;
if (0 !== (nextProps & ForceSuspenseFallback))
(nextProps =
(nextProps & SubtreeSuspenseContextMask) | ForceSuspenseFallback),
(workInProgress.flags |= 128);
else {
if (null !== current && 0 !== (current.flags & 128))
a: for (current = workInProgress.child; null !== current; ) {
if (13 === current.tag)
null !== current.memoizedState &&
scheduleSuspenseWorkOnFiber(
current,
renderLanes,
workInProgress
);
else if (19 === current.tag)
if (
!shouldForceFallback &&
null !== current &&
0 !== (current.flags & 128)
)
a: for (current = workInProgress.child; null !== current; ) {
if (13 === current.tag)
null !== current.memoizedState &&
scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);
else if (null !== current.child) {
current.child.return = current;
current = current.child;
continue;
}
if (current === workInProgress) break a;
for (; null === current.sibling; ) {
if (null === current.return || current.return === workInProgress)
break a;
current = current.return;
}
current.sibling.return = current.return;
current = current.sibling;
else if (19 === current.tag)
scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);
else if (null !== current.child) {
current.child.return = current;
current = current.child;
continue;
}
nextProps &= SubtreeSuspenseContextMask;
}
push(suspenseStackCursor, nextProps, workInProgress);
if (current === workInProgress) break a;
for (; null === current.sibling; ) {
if (null === current.return || current.return === workInProgress)
break a;
current = current.return;
}
current.sibling.return = current.return;
current = current.sibling;
}
switch (revealOrder) {
case "forwards":
renderLanes = workInProgress.child;
Expand Down Expand Up @@ -30579,11 +30616,11 @@
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-experimental-462d08f9-20250517" !== isomorphicReactPackageVersion)
if ("19.2.0-experimental-c4676e72-20250520" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-experimental-462d08f9-20250517\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-experimental-c4676e72-20250520\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -30620,10 +30657,10 @@
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-experimental-462d08f9-20250517",
version: "19.2.0-experimental-c4676e72-20250520",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-experimental-462d08f9-20250517"
reconcilerVersion: "19.2.0-experimental-c4676e72-20250520"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -30769,7 +30806,7 @@
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-experimental-462d08f9-20250517";
exports.version = "19.2.0-experimental-c4676e72-20250520";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7480,35 +7480,36 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
var nextProps = workInProgress.pendingProps,
revealOrder = nextProps.revealOrder,
tailMode = nextProps.tail;
reconcileChildren(current, workInProgress, nextProps.children, renderLanes);
nextProps = suspenseStackCursor.current;
if (0 !== (nextProps & 2))
(nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 128);
else {
if (null !== current && 0 !== (current.flags & 128))
a: for (current = workInProgress.child; null !== current; ) {
if (13 === current.tag)
null !== current.memoizedState &&
scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);
else if (19 === current.tag)
nextProps = nextProps.children;
var suspenseContext = suspenseStackCursor.current,
shouldForceFallback = 0 !== (suspenseContext & 2);
shouldForceFallback
? ((suspenseContext = (suspenseContext & 1) | 2),
(workInProgress.flags |= 128))
: (suspenseContext &= 1);
push(suspenseStackCursor, suspenseContext);
reconcileChildren(current, workInProgress, nextProps, renderLanes);
if (!shouldForceFallback && null !== current && 0 !== (current.flags & 128))
a: for (current = workInProgress.child; null !== current; ) {
if (13 === current.tag)
null !== current.memoizedState &&
scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);
else if (null !== current.child) {
current.child.return = current;
current = current.child;
continue;
}
if (current === workInProgress) break a;
for (; null === current.sibling; ) {
if (null === current.return || current.return === workInProgress)
break a;
current = current.return;
}
current.sibling.return = current.return;
current = current.sibling;
else if (19 === current.tag)
scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);
else if (null !== current.child) {
current.child.return = current;
current = current.child;
continue;
}
nextProps &= 1;
}
push(suspenseStackCursor, nextProps);
if (current === workInProgress) break a;
for (; null === current.sibling; ) {
if (null === current.return || current.return === workInProgress)
break a;
current = current.return;
}
current.sibling.return = current.return;
current = current.sibling;
}
switch (revealOrder) {
case "forwards":
renderLanes = workInProgress.child;
Expand Down Expand Up @@ -19147,14 +19148,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2180 = React.version;
if (
"19.2.0-experimental-462d08f9-20250517" !==
"19.2.0-experimental-c4676e72-20250520" !==
isomorphicReactPackageVersion$jscomp$inline_2180
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2180,
"19.2.0-experimental-462d08f9-20250517"
"19.2.0-experimental-c4676e72-20250520"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -19176,10 +19177,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2840 = {
bundleType: 0,
version: "19.2.0-experimental-462d08f9-20250517",
version: "19.2.0-experimental-c4676e72-20250520",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-experimental-462d08f9-20250517"
reconcilerVersion: "19.2.0-experimental-c4676e72-20250520"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2841 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -19286,4 +19287,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-experimental-462d08f9-20250517";
exports.version = "19.2.0-experimental-c4676e72-20250520";
Loading
Loading