mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[Fiber] Support AsyncIterable children in SuspenseList (#33299)
We support AsyncIterable (more so when it's a cached form like in coming
from Flight) as children.
This fixes some warnings and bugs when passed to SuspenseList.
Ideally SuspenseList with `tail="hidden"` should support unblocking
before the full result has resolved but that's an optimization on top.
We also might want to change semantics for this for
`revealOrder="backwards"` so it becomes possible to stream items in
reverse order.
DiffTrain build for [4c6967be29](https://github.com/facebook/react/commit/4c6967be290fc31182c61cfdac19915fdb16aa60)
This commit is contained in:
@@ -1 +1 @@
|
||||
19.2.0-native-fb-c6c2a52a-20250519
|
||||
19.2.0-native-fb-4c6967be-20250520
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<28c22d0ece713d9785cf5d25d3946b93>>
|
||||
* @generated SignedSource<<8a1de7d79c73e6c2e1075d7fd4792000>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -404,5 +404,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
exports.version = "19.2.0-native-fb-4c6967be-20250520";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<bf91b7580639db14361d4216e3a87d7d>>
|
||||
* @generated SignedSource<<8a2709664554a8b29233a80c9ff76f19>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
exports.version = "19.2.0-native-fb-4c6967be-20250520";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<bf91b7580639db14361d4216e3a87d7d>>
|
||||
* @generated SignedSource<<8a2709664554a8b29233a80c9ff76f19>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
exports.version = "19.2.0-native-fb-4c6967be-20250520";
|
||||
|
||||
Vendored
+74
-57
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<9b4af32d9f53d4ac82128e9bfa64ca35>>
|
||||
* @generated SignedSource<<b322f5ff2b0b6e8c848892cfc866c41e>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -6406,6 +6406,20 @@ __DEV__ &&
|
||||
}
|
||||
};
|
||||
}
|
||||
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 initializeUpdateQueue(fiber) {
|
||||
fiber.updateQueue = {
|
||||
baseState: fiber.memoizedState,
|
||||
@@ -10507,20 +10521,6 @@ __DEV__ &&
|
||||
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,
|
||||
@@ -10550,6 +10550,15 @@ __DEV__ &&
|
||||
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 &&
|
||||
@@ -10612,12 +10621,29 @@ __DEV__ &&
|
||||
!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++;
|
||||
}
|
||||
@@ -10627,40 +10653,31 @@ __DEV__ &&
|
||||
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;
|
||||
}
|
||||
if ((workInProgress.mode & ConcurrentMode) === NoMode)
|
||||
workInProgress.memoizedState = null;
|
||||
else
|
||||
@@ -27010,11 +27027,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-c6c2a52a-20250519" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-4c6967be-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-native-fb-c6c2a52a-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-4c6967be-20250520\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27051,10 +27068,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
version: "19.2.0-native-fb-4c6967be-20250520",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-4c6967be-20250520"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27192,5 +27209,5 @@ __DEV__ &&
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
exports.version = "19.2.0-native-fb-4c6967be-20250520";
|
||||
})();
|
||||
|
||||
compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js
Vendored
+34
-33
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<6c2730f8acf26ff9a5980f9a5f4b64a7>>
|
||||
* @generated SignedSource<<47fec142d1af95a47cad4d6e366cb6d2>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -7407,35 +7407,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;
|
||||
}
|
||||
if (0 === (workInProgress.mode & 1)) workInProgress.memoizedState = null;
|
||||
else
|
||||
switch (revealOrder) {
|
||||
@@ -17094,14 +17095,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2017 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-c6c2a52a-20250519" !==
|
||||
"19.2.0-native-fb-4c6967be-20250520" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2017
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2017,
|
||||
"19.2.0-native-fb-c6c2a52a-20250519"
|
||||
"19.2.0-native-fb-4c6967be-20250520"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17123,10 +17124,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2536 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
version: "19.2.0-native-fb-4c6967be-20250520",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-4c6967be-20250520"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2537 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17224,4 +17225,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
exports.version = "19.2.0-native-fb-4c6967be-20250520";
|
||||
|
||||
+34
-33
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<d18d348be88eb42a0ddb0433b4788107>>
|
||||
* @generated SignedSource<<baadbbddcd06cc4db9d93090c3d04252>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -7600,35 +7600,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;
|
||||
}
|
||||
if (0 === (workInProgress.mode & 1)) workInProgress.memoizedState = null;
|
||||
else
|
||||
switch (revealOrder) {
|
||||
@@ -17804,14 +17805,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2120 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-c6c2a52a-20250519" !==
|
||||
"19.2.0-native-fb-4c6967be-20250520" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2120
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2120,
|
||||
"19.2.0-native-fb-c6c2a52a-20250519"
|
||||
"19.2.0-native-fb-4c6967be-20250520"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17833,10 +17834,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2127 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
version: "19.2.0-native-fb-4c6967be-20250520",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
reconcilerVersion: "19.2.0-native-fb-4c6967be-20250520",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$313 = 0;
|
||||
@@ -17949,4 +17950,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
exports.version = "19.2.0-native-fb-4c6967be-20250520";
|
||||
|
||||
+74
-57
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<11513610ac0a657bbba9609daa9a746d>>
|
||||
* @generated SignedSource<<7ce6b06223ed250a90d96b5313be45e1>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -6414,6 +6414,20 @@ __DEV__ &&
|
||||
}
|
||||
};
|
||||
}
|
||||
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 initializeUpdateQueue(fiber) {
|
||||
fiber.updateQueue = {
|
||||
baseState: fiber.memoizedState,
|
||||
@@ -10515,20 +10529,6 @@ __DEV__ &&
|
||||
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,
|
||||
@@ -10558,6 +10558,15 @@ __DEV__ &&
|
||||
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 &&
|
||||
@@ -10620,12 +10629,29 @@ __DEV__ &&
|
||||
!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++;
|
||||
}
|
||||
@@ -10635,40 +10661,31 @@ __DEV__ &&
|
||||
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;
|
||||
}
|
||||
if ((workInProgress.mode & ConcurrentMode) === NoMode)
|
||||
workInProgress.memoizedState = null;
|
||||
else
|
||||
@@ -27066,11 +27083,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-c6c2a52a-20250519" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-4c6967be-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-native-fb-c6c2a52a-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-4c6967be-20250520\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27107,10 +27124,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
version: "19.2.0-native-fb-4c6967be-20250520",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-4c6967be-20250520"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27564,7 +27581,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
exports.version = "19.2.0-native-fb-4c6967be-20250520";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+34
-33
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<e6051a8d652b0411db3e072779b526b3>>
|
||||
* @generated SignedSource<<1085217df5551dc6f74fb3a65173bee2>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -7407,35 +7407,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;
|
||||
}
|
||||
if (0 === (workInProgress.mode & 1)) workInProgress.memoizedState = null;
|
||||
else
|
||||
switch (revealOrder) {
|
||||
@@ -17105,14 +17106,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2018 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-c6c2a52a-20250519" !==
|
||||
"19.2.0-native-fb-4c6967be-20250520" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2018
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2018,
|
||||
"19.2.0-native-fb-c6c2a52a-20250519"
|
||||
"19.2.0-native-fb-4c6967be-20250520"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17134,10 +17135,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2539 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
version: "19.2.0-native-fb-4c6967be-20250520",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-4c6967be-20250520"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2540 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17388,4 +17389,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
exports.version = "19.2.0-native-fb-4c6967be-20250520";
|
||||
|
||||
+34
-33
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<193bb5c0d8528b5b757d7394ffc81971>>
|
||||
* @generated SignedSource<<c4c970459b781cbf8c75f4530acce3a4>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -7604,35 +7604,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;
|
||||
}
|
||||
if (0 === (workInProgress.mode & 1)) workInProgress.memoizedState = null;
|
||||
else
|
||||
switch (revealOrder) {
|
||||
@@ -17819,14 +17820,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2121 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-c6c2a52a-20250519" !==
|
||||
"19.2.0-native-fb-4c6967be-20250520" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2121
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2121,
|
||||
"19.2.0-native-fb-c6c2a52a-20250519"
|
||||
"19.2.0-native-fb-4c6967be-20250520"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17848,10 +17849,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2128 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
version: "19.2.0-native-fb-4c6967be-20250520",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
reconcilerVersion: "19.2.0-native-fb-4c6967be-20250520",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$313 = 0;
|
||||
@@ -18117,7 +18118,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
exports.version = "19.2.0-native-fb-4c6967be-20250520";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+72
-55
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<3cc4580b25ade0f759db7f672305948c>>
|
||||
* @generated SignedSource<<7e2fc780c135c3f48a373b39fe6ace73>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -3621,6 +3621,20 @@ __DEV__ &&
|
||||
}
|
||||
};
|
||||
}
|
||||
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 finishQueueingConcurrentUpdates() {
|
||||
for (
|
||||
var endIndex = concurrentQueuesIndex,
|
||||
@@ -7450,20 +7464,6 @@ __DEV__ &&
|
||||
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,
|
||||
@@ -7493,6 +7493,15 @@ __DEV__ &&
|
||||
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 &&
|
||||
@@ -7555,12 +7564,29 @@ __DEV__ &&
|
||||
!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++;
|
||||
}
|
||||
@@ -7570,40 +7596,31 @@ __DEV__ &&
|
||||
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;
|
||||
}
|
||||
if (0 === (workInProgress.mode & 1)) workInProgress.memoizedState = null;
|
||||
else
|
||||
switch (revealOrder) {
|
||||
@@ -15658,10 +15675,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
version: "19.2.0-native-fb-4c6967be-20250520",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-4c6967be-20250520"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15806,5 +15823,5 @@ __DEV__ &&
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
exports.version = "19.2.0-native-fb-4c6967be-20250520";
|
||||
})();
|
||||
|
||||
+32
-31
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<7728ee5dee052cd52869b82e9d0c631c>>
|
||||
* @generated SignedSource<<6181f7aa0e60dc3f56b63205a3fd3b31>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -5371,35 +5371,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;
|
||||
}
|
||||
if (0 === (workInProgress.mode & 1)) workInProgress.memoizedState = null;
|
||||
else
|
||||
switch (revealOrder) {
|
||||
@@ -9895,10 +9896,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1447 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
version: "19.2.0-native-fb-4c6967be-20250520",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-4c6967be-20250520"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1448 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -10034,4 +10035,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
exports.version = "19.2.0-native-fb-4c6967be-20250520";
|
||||
|
||||
+32
-31
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<6ba35969a2cfeaf56e31182fdcaa287e>>
|
||||
* @generated SignedSource<<c425c8345eacf94edfaefb4541ce26e8>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -5518,35 +5518,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;
|
||||
}
|
||||
if (0 === (workInProgress.mode & 1)) workInProgress.memoizedState = null;
|
||||
else
|
||||
switch (revealOrder) {
|
||||
@@ -10515,10 +10516,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1254 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
version: "19.2.0-native-fb-4c6967be-20250520",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
reconcilerVersion: "19.2.0-native-fb-4c6967be-20250520",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$155 = 0;
|
||||
@@ -10669,4 +10670,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
exports.version = "19.2.0-native-fb-4c6967be-20250520";
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<c0b8057dab551e28d58e74a92cc940e4>>
|
||||
* @generated SignedSource<<bb2082c5f44e77ed57153e668e30d81a>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1411,7 +1411,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
exports.version = "19.2.0-native-fb-4c6967be-20250520";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<b73a83cc94462e897f44ac5b45c1073b>>
|
||||
* @generated SignedSource<<77350707e0e7d5bf591d4f1eb1e43e9b>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -586,4 +586,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
exports.version = "19.2.0-native-fb-4c6967be-20250520";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<949ffcef1e5e29acdcface6d5d678072>>
|
||||
* @generated SignedSource<<50c81cfc145da87dc4944d2daf6a960c>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -590,7 +590,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
exports.version = "19.2.0-native-fb-4c6967be-20250520";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
c6c2a52ad8fb1894b03a3bb618eb57e5deca5aa0
|
||||
4c6967be290fc31182c61cfdac19915fdb16aa60
|
||||
|
||||
+71
-54
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<abcf1f19077e9c1138c0d5a568b193ec>>
|
||||
* @generated SignedSource<<fb34b0392da3add5fc5c70c4ec415826>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -4562,6 +4562,20 @@ __DEV__ &&
|
||||
}
|
||||
};
|
||||
}
|
||||
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 finishQueueingConcurrentUpdates() {
|
||||
for (
|
||||
var endIndex = concurrentQueuesIndex,
|
||||
@@ -8344,20 +8358,6 @@ __DEV__ &&
|
||||
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,
|
||||
@@ -8387,6 +8387,15 @@ __DEV__ &&
|
||||
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 &&
|
||||
@@ -8449,12 +8458,29 @@ __DEV__ &&
|
||||
!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++;
|
||||
}
|
||||
@@ -8464,40 +8490,31 @@ __DEV__ &&
|
||||
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;
|
||||
}
|
||||
if (0 === (workInProgress.mode & 1)) workInProgress.memoizedState = null;
|
||||
else
|
||||
switch (revealOrder) {
|
||||
@@ -17486,10 +17503,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
version: "19.2.0-native-fb-4c6967be-20250520",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-4c6967be-20250520"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+31
-30
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<83dd8ced5c74bb41b49eaa50b055559d>>
|
||||
* @generated SignedSource<<098234c41032e412e98ac45ac7314757>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -6643,35 +6643,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;
|
||||
}
|
||||
if (0 === (workInProgress.mode & 1)) workInProgress.memoizedState = null;
|
||||
else
|
||||
switch (revealOrder) {
|
||||
@@ -11202,10 +11203,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1257 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
version: "19.2.0-native-fb-4c6967be-20250520",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-4c6967be-20250520"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1257.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+31
-30
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<3d94c295a76b7fe219163ce4853b985b>>
|
||||
* @generated SignedSource<<68310381889511e47a1517de8a4ca45f>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -6825,35 +6825,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;
|
||||
}
|
||||
if (0 === (workInProgress.mode & 1)) workInProgress.memoizedState = null;
|
||||
else
|
||||
switch (revealOrder) {
|
||||
@@ -11906,10 +11907,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1358 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
version: "19.2.0-native-fb-4c6967be-20250520",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-4c6967be-20250520"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1358.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+73
-56
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<467d53e2c6a4cb25602fbdf8e2ce023d>>
|
||||
* @generated SignedSource<<4e09cafefa2ad6cfb84c0038c60e06af>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -4649,6 +4649,20 @@ __DEV__ &&
|
||||
}
|
||||
};
|
||||
}
|
||||
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 finishQueueingConcurrentUpdates() {
|
||||
for (
|
||||
var endIndex = concurrentQueuesIndex,
|
||||
@@ -8431,20 +8445,6 @@ __DEV__ &&
|
||||
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,
|
||||
@@ -8474,6 +8474,15 @@ __DEV__ &&
|
||||
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 &&
|
||||
@@ -8536,12 +8545,29 @@ __DEV__ &&
|
||||
!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++;
|
||||
}
|
||||
@@ -8551,40 +8577,31 @@ __DEV__ &&
|
||||
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;
|
||||
}
|
||||
if (0 === (workInProgress.mode & 1)) workInProgress.memoizedState = null;
|
||||
else
|
||||
switch (revealOrder) {
|
||||
@@ -17609,11 +17626,11 @@ __DEV__ &&
|
||||
shouldSuspendImpl = newShouldSuspendImpl;
|
||||
};
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-c6c2a52a-20250519" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-4c6967be-20250520" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-c6c2a52a-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-4c6967be-20250520\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -17639,10 +17656,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
version: "19.2.0-native-fb-4c6967be-20250520",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-4c6967be-20250520"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+33
-32
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<0e7282ba3b791d49c979637fa380732d>>
|
||||
* @generated SignedSource<<bf0afa7959c30f46358df4f701b7dfdf>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -6775,35 +6775,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;
|
||||
}
|
||||
if (0 === (workInProgress.mode & 1)) workInProgress.memoizedState = null;
|
||||
else
|
||||
switch (revealOrder) {
|
||||
@@ -11211,11 +11212,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-c6c2a52a-20250519" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-4c6967be-20250520" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-c6c2a52a-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-4c6967be-20250520\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11265,10 +11266,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1307 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
version: "19.2.0-native-fb-4c6967be-20250520",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-4c6967be-20250520"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1307.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+33
-32
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<39215374a345471036070e8bffe24ab1>>
|
||||
* @generated SignedSource<<5d1d038744a81e66936a9f84da5be20a>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -6957,35 +6957,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;
|
||||
}
|
||||
if (0 === (workInProgress.mode & 1)) workInProgress.memoizedState = null;
|
||||
else
|
||||
switch (revealOrder) {
|
||||
@@ -11913,11 +11914,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-c6c2a52a-20250519" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-4c6967be-20250520" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-c6c2a52a-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-4c6967be-20250520\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11967,10 +11968,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1408 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
version: "19.2.0-native-fb-4c6967be-20250520",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-4c6967be-20250520"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1408.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "eslint-plugin-react-hooks",
|
||||
"description": "ESLint rules for React Hooks",
|
||||
"version": "0.0.0-experimental-c6c2a52a-20250519",
|
||||
"version": "0.0.0-experimental-4c6967be-20250520",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react.git",
|
||||
|
||||
Reference in New Issue
Block a user