react-dom 19.2.0-canary-280ff6fe-20250606 → 19.2.0-canary-56408a5b-20250610
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/react-dom-client.development.js +167 -153
- package/cjs/react-dom-client.production.js +59 -40
- package/cjs/react-dom-profiling.development.js +167 -153
- package/cjs/react-dom-profiling.profiling.js +59 -40
- package/cjs/react-dom-server-legacy.browser.development.js +1 -1
- package/cjs/react-dom-server-legacy.browser.production.js +1 -1
- package/cjs/react-dom-server-legacy.node.development.js +1 -1
- package/cjs/react-dom-server-legacy.node.production.js +1 -1
- package/cjs/react-dom-server.browser.development.js +3 -3
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +3 -3
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +3 -3
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +194 -5
- package/cjs/react-dom-server.node.production.js +194 -5
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
- package/server.node.js +4 -0
- package/static.node.js +2 -0
@@ -9710,24 +9710,24 @@
|
|
9710
9710
|
return current;
|
9711
9711
|
}
|
9712
9712
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
9713
|
-
var
|
9714
|
-
var
|
9713
|
+
var JSCompiler_object_inline_digest_2555;
|
9714
|
+
var JSCompiler_object_inline_stack_2556 = workInProgress.pendingProps;
|
9715
9715
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
9716
|
-
var
|
9716
|
+
var JSCompiler_object_inline_message_2554 = !1;
|
9717
9717
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
9718
|
-
(
|
9719
|
-
(
|
9718
|
+
(JSCompiler_object_inline_digest_2555 = didSuspend) ||
|
9719
|
+
(JSCompiler_object_inline_digest_2555 =
|
9720
9720
|
null !== current && null === current.memoizedState
|
9721
9721
|
? !1
|
9722
9722
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
9723
|
-
|
9724
|
-
((
|
9723
|
+
JSCompiler_object_inline_digest_2555 &&
|
9724
|
+
((JSCompiler_object_inline_message_2554 = !0),
|
9725
9725
|
(workInProgress.flags &= -129));
|
9726
|
-
|
9726
|
+
JSCompiler_object_inline_digest_2555 = 0 !== (workInProgress.flags & 32);
|
9727
9727
|
workInProgress.flags &= -33;
|
9728
9728
|
if (null === current) {
|
9729
9729
|
if (isHydrating) {
|
9730
|
-
|
9730
|
+
JSCompiler_object_inline_message_2554
|
9731
9731
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
9732
9732
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
9733
9733
|
(current = nextHydratableInstance)
|
@@ -9740,18 +9740,18 @@
|
|
9740
9740
|
? renderLanes
|
9741
9741
|
: null),
|
9742
9742
|
null !== renderLanes &&
|
9743
|
-
((
|
9743
|
+
((JSCompiler_object_inline_digest_2555 = {
|
9744
9744
|
dehydrated: renderLanes,
|
9745
9745
|
treeContext: getSuspendedTreeContext(),
|
9746
9746
|
retryLane: 536870912,
|
9747
9747
|
hydrationErrors: null
|
9748
9748
|
}),
|
9749
9749
|
(workInProgress.memoizedState =
|
9750
|
-
|
9751
|
-
(
|
9750
|
+
JSCompiler_object_inline_digest_2555),
|
9751
|
+
(JSCompiler_object_inline_digest_2555 =
|
9752
9752
|
createFiberFromDehydratedFragment(renderLanes)),
|
9753
|
-
(
|
9754
|
-
(workInProgress.child =
|
9753
|
+
(JSCompiler_object_inline_digest_2555.return = workInProgress),
|
9754
|
+
(workInProgress.child = JSCompiler_object_inline_digest_2555),
|
9755
9755
|
(hydrationParentFiber = workInProgress),
|
9756
9756
|
(nextHydratableInstance = null)))
|
9757
9757
|
: (renderLanes = null);
|
@@ -9765,36 +9765,36 @@
|
|
9765
9765
|
: (workInProgress.lanes = 536870912);
|
9766
9766
|
return null;
|
9767
9767
|
}
|
9768
|
-
var nextPrimaryChildren =
|
9769
|
-
|
9770
|
-
|
9771
|
-
if (
|
9768
|
+
var nextPrimaryChildren = JSCompiler_object_inline_stack_2556.children;
|
9769
|
+
JSCompiler_object_inline_stack_2556 =
|
9770
|
+
JSCompiler_object_inline_stack_2556.fallback;
|
9771
|
+
if (JSCompiler_object_inline_message_2554) {
|
9772
9772
|
reuseSuspenseHandlerOnStack(workInProgress);
|
9773
9773
|
var mode = workInProgress.mode;
|
9774
9774
|
nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
|
9775
9775
|
{ mode: "hidden", children: nextPrimaryChildren },
|
9776
9776
|
mode
|
9777
9777
|
);
|
9778
|
-
|
9779
|
-
|
9778
|
+
JSCompiler_object_inline_stack_2556 = createFiberFromFragment(
|
9779
|
+
JSCompiler_object_inline_stack_2556,
|
9780
9780
|
mode,
|
9781
9781
|
renderLanes,
|
9782
9782
|
null
|
9783
9783
|
);
|
9784
9784
|
nextPrimaryChildren.return = workInProgress;
|
9785
|
-
|
9786
|
-
nextPrimaryChildren.sibling =
|
9785
|
+
JSCompiler_object_inline_stack_2556.return = workInProgress;
|
9786
|
+
nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2556;
|
9787
9787
|
workInProgress.child = nextPrimaryChildren;
|
9788
9788
|
nextPrimaryChildren = workInProgress.child;
|
9789
9789
|
nextPrimaryChildren.memoizedState =
|
9790
9790
|
mountSuspenseOffscreenState(renderLanes);
|
9791
9791
|
nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
9792
9792
|
current,
|
9793
|
-
|
9793
|
+
JSCompiler_object_inline_digest_2555,
|
9794
9794
|
renderLanes
|
9795
9795
|
);
|
9796
9796
|
workInProgress.memoizedState = SUSPENDED_MARKER;
|
9797
|
-
return
|
9797
|
+
return JSCompiler_object_inline_stack_2556;
|
9798
9798
|
}
|
9799
9799
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9800
9800
|
return mountSuspensePrimaryChildren(
|
@@ -9804,8 +9804,8 @@
|
|
9804
9804
|
}
|
9805
9805
|
var prevState = current.memoizedState;
|
9806
9806
|
if (null !== prevState) {
|
9807
|
-
var
|
9808
|
-
if (null !==
|
9807
|
+
var JSCompiler_object_inline_componentStack_2557 = prevState.dehydrated;
|
9808
|
+
if (null !== JSCompiler_object_inline_componentStack_2557) {
|
9809
9809
|
if (didSuspend)
|
9810
9810
|
workInProgress.flags & 256
|
9811
9811
|
? (pushPrimaryTreeSuspenseHandler(workInProgress),
|
@@ -9822,13 +9822,13 @@
|
|
9822
9822
|
(workInProgress = null))
|
9823
9823
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9824
9824
|
(nextPrimaryChildren =
|
9825
|
-
|
9825
|
+
JSCompiler_object_inline_stack_2556.fallback),
|
9826
9826
|
(mode = workInProgress.mode),
|
9827
|
-
(
|
9827
|
+
(JSCompiler_object_inline_stack_2556 =
|
9828
9828
|
mountWorkInProgressOffscreenFiber(
|
9829
9829
|
{
|
9830
9830
|
mode: "visible",
|
9831
|
-
children:
|
9831
|
+
children: JSCompiler_object_inline_stack_2556.children
|
9832
9832
|
},
|
9833
9833
|
mode
|
9834
9834
|
)),
|
@@ -9839,24 +9839,24 @@
|
|
9839
9839
|
null
|
9840
9840
|
)),
|
9841
9841
|
(nextPrimaryChildren.flags |= 2),
|
9842
|
-
(
|
9842
|
+
(JSCompiler_object_inline_stack_2556.return = workInProgress),
|
9843
9843
|
(nextPrimaryChildren.return = workInProgress),
|
9844
|
-
(
|
9844
|
+
(JSCompiler_object_inline_stack_2556.sibling =
|
9845
9845
|
nextPrimaryChildren),
|
9846
|
-
(workInProgress.child =
|
9846
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2556),
|
9847
9847
|
reconcileChildFibers(
|
9848
9848
|
workInProgress,
|
9849
9849
|
current.child,
|
9850
9850
|
null,
|
9851
9851
|
renderLanes
|
9852
9852
|
),
|
9853
|
-
(
|
9854
|
-
(
|
9853
|
+
(JSCompiler_object_inline_stack_2556 = workInProgress.child),
|
9854
|
+
(JSCompiler_object_inline_stack_2556.memoizedState =
|
9855
9855
|
mountSuspenseOffscreenState(renderLanes)),
|
9856
|
-
(
|
9856
|
+
(JSCompiler_object_inline_stack_2556.childLanes =
|
9857
9857
|
getRemainingWorkInPrimaryTree(
|
9858
9858
|
current,
|
9859
|
-
|
9859
|
+
JSCompiler_object_inline_digest_2555,
|
9860
9860
|
renderLanes
|
9861
9861
|
)),
|
9862
9862
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
@@ -9865,45 +9865,45 @@
|
|
9865
9865
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9866
9866
|
warnIfHydrating(),
|
9867
9867
|
isSuspenseInstanceFallback(
|
9868
|
-
|
9868
|
+
JSCompiler_object_inline_componentStack_2557
|
9869
9869
|
))
|
9870
9870
|
) {
|
9871
|
-
|
9872
|
-
|
9873
|
-
|
9874
|
-
if (
|
9875
|
-
nextPrimaryChildren =
|
9876
|
-
var message =
|
9877
|
-
mode =
|
9878
|
-
var componentStack =
|
9871
|
+
JSCompiler_object_inline_digest_2555 =
|
9872
|
+
JSCompiler_object_inline_componentStack_2557.nextSibling &&
|
9873
|
+
JSCompiler_object_inline_componentStack_2557.nextSibling.dataset;
|
9874
|
+
if (JSCompiler_object_inline_digest_2555) {
|
9875
|
+
nextPrimaryChildren = JSCompiler_object_inline_digest_2555.dgst;
|
9876
|
+
var message = JSCompiler_object_inline_digest_2555.msg;
|
9877
|
+
mode = JSCompiler_object_inline_digest_2555.stck;
|
9878
|
+
var componentStack = JSCompiler_object_inline_digest_2555.cstck;
|
9879
9879
|
}
|
9880
|
-
|
9881
|
-
|
9882
|
-
|
9883
|
-
|
9884
|
-
nextPrimaryChildren =
|
9885
|
-
mode =
|
9880
|
+
JSCompiler_object_inline_message_2554 = message;
|
9881
|
+
JSCompiler_object_inline_digest_2555 = nextPrimaryChildren;
|
9882
|
+
JSCompiler_object_inline_stack_2556 = mode;
|
9883
|
+
JSCompiler_object_inline_componentStack_2557 = componentStack;
|
9884
|
+
nextPrimaryChildren = JSCompiler_object_inline_message_2554;
|
9885
|
+
mode = JSCompiler_object_inline_componentStack_2557;
|
9886
9886
|
nextPrimaryChildren = nextPrimaryChildren
|
9887
9887
|
? Error(nextPrimaryChildren)
|
9888
9888
|
: Error(
|
9889
9889
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9890
9890
|
);
|
9891
9891
|
nextPrimaryChildren.stack =
|
9892
|
-
|
9893
|
-
nextPrimaryChildren.digest =
|
9894
|
-
|
9892
|
+
JSCompiler_object_inline_stack_2556 || "";
|
9893
|
+
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2555;
|
9894
|
+
JSCompiler_object_inline_digest_2555 =
|
9895
9895
|
void 0 === mode ? null : mode;
|
9896
|
-
|
9896
|
+
JSCompiler_object_inline_stack_2556 = {
|
9897
9897
|
value: nextPrimaryChildren,
|
9898
9898
|
source: null,
|
9899
|
-
stack:
|
9899
|
+
stack: JSCompiler_object_inline_digest_2555
|
9900
9900
|
};
|
9901
|
-
"string" === typeof
|
9901
|
+
"string" === typeof JSCompiler_object_inline_digest_2555 &&
|
9902
9902
|
CapturedStacks.set(
|
9903
9903
|
nextPrimaryChildren,
|
9904
|
-
|
9904
|
+
JSCompiler_object_inline_stack_2556
|
9905
9905
|
);
|
9906
|
-
queueHydrationError(
|
9906
|
+
queueHydrationError(JSCompiler_object_inline_stack_2556);
|
9907
9907
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9908
9908
|
current,
|
9909
9909
|
workInProgress,
|
@@ -9917,35 +9917,35 @@
|
|
9917
9917
|
renderLanes,
|
9918
9918
|
!1
|
9919
9919
|
),
|
9920
|
-
(
|
9920
|
+
(JSCompiler_object_inline_digest_2555 =
|
9921
9921
|
0 !== (renderLanes & current.childLanes)),
|
9922
|
-
didReceiveUpdate ||
|
9922
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2555)
|
9923
9923
|
) {
|
9924
|
-
|
9924
|
+
JSCompiler_object_inline_digest_2555 = workInProgressRoot;
|
9925
9925
|
if (
|
9926
|
-
null !==
|
9927
|
-
((
|
9928
|
-
|
9926
|
+
null !== JSCompiler_object_inline_digest_2555 &&
|
9927
|
+
((JSCompiler_object_inline_stack_2556 = getBumpedLaneForHydration(
|
9928
|
+
JSCompiler_object_inline_digest_2555,
|
9929
9929
|
renderLanes
|
9930
9930
|
)),
|
9931
|
-
0 !==
|
9932
|
-
|
9931
|
+
0 !== JSCompiler_object_inline_stack_2556 &&
|
9932
|
+
JSCompiler_object_inline_stack_2556 !== prevState.retryLane)
|
9933
9933
|
)
|
9934
9934
|
throw (
|
9935
|
-
((prevState.retryLane =
|
9935
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2556),
|
9936
9936
|
enqueueConcurrentRenderForLane(
|
9937
9937
|
current,
|
9938
|
-
|
9938
|
+
JSCompiler_object_inline_stack_2556
|
9939
9939
|
),
|
9940
9940
|
scheduleUpdateOnFiber(
|
9941
|
-
|
9941
|
+
JSCompiler_object_inline_digest_2555,
|
9942
9942
|
current,
|
9943
|
-
|
9943
|
+
JSCompiler_object_inline_stack_2556
|
9944
9944
|
),
|
9945
9945
|
SelectiveHydrationException)
|
9946
9946
|
);
|
9947
9947
|
isSuspenseInstancePending(
|
9948
|
-
|
9948
|
+
JSCompiler_object_inline_componentStack_2557
|
9949
9949
|
) || renderDidSuspendDelayIfPossible();
|
9950
9950
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9951
9951
|
current,
|
@@ -9954,14 +9954,14 @@
|
|
9954
9954
|
);
|
9955
9955
|
} else
|
9956
9956
|
isSuspenseInstancePending(
|
9957
|
-
|
9957
|
+
JSCompiler_object_inline_componentStack_2557
|
9958
9958
|
)
|
9959
9959
|
? ((workInProgress.flags |= 192),
|
9960
9960
|
(workInProgress.child = current.child),
|
9961
9961
|
(workInProgress = null))
|
9962
9962
|
: ((current = prevState.treeContext),
|
9963
9963
|
(nextHydratableInstance = getNextHydratable(
|
9964
|
-
|
9964
|
+
JSCompiler_object_inline_componentStack_2557.nextSibling
|
9965
9965
|
)),
|
9966
9966
|
(hydrationParentFiber = workInProgress),
|
9967
9967
|
(isHydrating = !0),
|
@@ -9973,32 +9973,32 @@
|
|
9973
9973
|
restoreSuspendedTreeContext(workInProgress, current),
|
9974
9974
|
(workInProgress = mountSuspensePrimaryChildren(
|
9975
9975
|
workInProgress,
|
9976
|
-
|
9976
|
+
JSCompiler_object_inline_stack_2556.children
|
9977
9977
|
)),
|
9978
9978
|
(workInProgress.flags |= 4096));
|
9979
9979
|
return workInProgress;
|
9980
9980
|
}
|
9981
9981
|
}
|
9982
|
-
if (
|
9982
|
+
if (JSCompiler_object_inline_message_2554)
|
9983
9983
|
return (
|
9984
9984
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9985
|
-
(nextPrimaryChildren =
|
9985
|
+
(nextPrimaryChildren = JSCompiler_object_inline_stack_2556.fallback),
|
9986
9986
|
(mode = workInProgress.mode),
|
9987
9987
|
(componentStack = current.child),
|
9988
|
-
(
|
9988
|
+
(JSCompiler_object_inline_componentStack_2557 =
|
9989
9989
|
componentStack.sibling),
|
9990
|
-
(
|
9990
|
+
(JSCompiler_object_inline_stack_2556 = createWorkInProgress(
|
9991
9991
|
componentStack,
|
9992
9992
|
{
|
9993
9993
|
mode: "hidden",
|
9994
|
-
children:
|
9994
|
+
children: JSCompiler_object_inline_stack_2556.children
|
9995
9995
|
}
|
9996
9996
|
)),
|
9997
|
-
(
|
9997
|
+
(JSCompiler_object_inline_stack_2556.subtreeFlags =
|
9998
9998
|
componentStack.subtreeFlags & 65011712),
|
9999
|
-
null !==
|
9999
|
+
null !== JSCompiler_object_inline_componentStack_2557
|
10000
10000
|
? (nextPrimaryChildren = createWorkInProgress(
|
10001
|
-
|
10001
|
+
JSCompiler_object_inline_componentStack_2557,
|
10002
10002
|
nextPrimaryChildren
|
10003
10003
|
))
|
10004
10004
|
: ((nextPrimaryChildren = createFiberFromFragment(
|
@@ -10009,24 +10009,24 @@
|
|
10009
10009
|
)),
|
10010
10010
|
(nextPrimaryChildren.flags |= 2)),
|
10011
10011
|
(nextPrimaryChildren.return = workInProgress),
|
10012
|
-
(
|
10013
|
-
(
|
10014
|
-
(workInProgress.child =
|
10015
|
-
(
|
10012
|
+
(JSCompiler_object_inline_stack_2556.return = workInProgress),
|
10013
|
+
(JSCompiler_object_inline_stack_2556.sibling = nextPrimaryChildren),
|
10014
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2556),
|
10015
|
+
(JSCompiler_object_inline_stack_2556 = nextPrimaryChildren),
|
10016
10016
|
(nextPrimaryChildren = workInProgress.child),
|
10017
10017
|
(mode = current.child.memoizedState),
|
10018
10018
|
null === mode
|
10019
10019
|
? (mode = mountSuspenseOffscreenState(renderLanes))
|
10020
10020
|
: ((componentStack = mode.cachePool),
|
10021
10021
|
null !== componentStack
|
10022
|
-
? ((
|
10022
|
+
? ((JSCompiler_object_inline_componentStack_2557 =
|
10023
10023
|
CacheContext._currentValue),
|
10024
10024
|
(componentStack =
|
10025
10025
|
componentStack.parent !==
|
10026
|
-
|
10026
|
+
JSCompiler_object_inline_componentStack_2557
|
10027
10027
|
? {
|
10028
|
-
parent:
|
10029
|
-
pool:
|
10028
|
+
parent: JSCompiler_object_inline_componentStack_2557,
|
10029
|
+
pool: JSCompiler_object_inline_componentStack_2557
|
10030
10030
|
}
|
10031
10031
|
: componentStack))
|
10032
10032
|
: (componentStack = getSuspendedCache()),
|
@@ -10037,27 +10037,27 @@
|
|
10037
10037
|
(nextPrimaryChildren.memoizedState = mode),
|
10038
10038
|
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
10039
10039
|
current,
|
10040
|
-
|
10040
|
+
JSCompiler_object_inline_digest_2555,
|
10041
10041
|
renderLanes
|
10042
10042
|
)),
|
10043
10043
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
10044
|
-
|
10044
|
+
JSCompiler_object_inline_stack_2556
|
10045
10045
|
);
|
10046
10046
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
10047
10047
|
renderLanes = current.child;
|
10048
10048
|
current = renderLanes.sibling;
|
10049
10049
|
renderLanes = createWorkInProgress(renderLanes, {
|
10050
10050
|
mode: "visible",
|
10051
|
-
children:
|
10051
|
+
children: JSCompiler_object_inline_stack_2556.children
|
10052
10052
|
});
|
10053
10053
|
renderLanes.return = workInProgress;
|
10054
10054
|
renderLanes.sibling = null;
|
10055
10055
|
null !== current &&
|
10056
|
-
((
|
10057
|
-
null ===
|
10056
|
+
((JSCompiler_object_inline_digest_2555 = workInProgress.deletions),
|
10057
|
+
null === JSCompiler_object_inline_digest_2555
|
10058
10058
|
? ((workInProgress.deletions = [current]),
|
10059
10059
|
(workInProgress.flags |= 16))
|
10060
|
-
:
|
10060
|
+
: JSCompiler_object_inline_digest_2555.push(current));
|
10061
10061
|
workInProgress.child = renderLanes;
|
10062
10062
|
workInProgress.memoizedState = null;
|
10063
10063
|
return renderLanes;
|
@@ -10110,7 +10110,8 @@
|
|
10110
10110
|
isBackwards,
|
10111
10111
|
tail,
|
10112
10112
|
lastContentRow,
|
10113
|
-
tailMode
|
10113
|
+
tailMode,
|
10114
|
+
treeForkCount
|
10114
10115
|
) {
|
10115
10116
|
var renderState = workInProgress.memoizedState;
|
10116
10117
|
null === renderState
|
@@ -10120,23 +10121,24 @@
|
|
10120
10121
|
renderingStartTime: 0,
|
10121
10122
|
last: lastContentRow,
|
10122
10123
|
tail: tail,
|
10123
|
-
tailMode: tailMode
|
10124
|
+
tailMode: tailMode,
|
10125
|
+
treeForkCount: treeForkCount
|
10124
10126
|
})
|
10125
10127
|
: ((renderState.isBackwards = isBackwards),
|
10126
10128
|
(renderState.rendering = null),
|
10127
10129
|
(renderState.renderingStartTime = 0),
|
10128
10130
|
(renderState.last = lastContentRow),
|
10129
10131
|
(renderState.tail = tail),
|
10130
|
-
(renderState.tailMode = tailMode)
|
10132
|
+
(renderState.tailMode = tailMode),
|
10133
|
+
(renderState.treeForkCount = treeForkCount));
|
10131
10134
|
}
|
10132
10135
|
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
10133
10136
|
var nextProps = workInProgress.pendingProps,
|
10134
10137
|
revealOrder = nextProps.revealOrder,
|
10135
|
-
tailMode = nextProps.tail
|
10136
|
-
|
10137
|
-
|
10138
|
-
|
10139
|
-
shouldForceFallback
|
10138
|
+
tailMode = nextProps.tail,
|
10139
|
+
newChildren = nextProps.children,
|
10140
|
+
suspenseContext = suspenseStackCursor.current;
|
10141
|
+
(nextProps = 0 !== (suspenseContext & ForceSuspenseFallback))
|
10140
10142
|
? ((suspenseContext =
|
10141
10143
|
(suspenseContext & SubtreeSuspenseContextMask) |
|
10142
10144
|
ForceSuspenseFallback),
|
@@ -10225,29 +10227,29 @@
|
|
10225
10227
|
("forwards" === revealOrder ||
|
10226
10228
|
"backwards" === revealOrder ||
|
10227
10229
|
"unstable_legacy-backwards" === revealOrder) &&
|
10228
|
-
void 0 !==
|
10229
|
-
null !==
|
10230
|
-
!1 !==
|
10230
|
+
void 0 !== newChildren &&
|
10231
|
+
null !== newChildren &&
|
10232
|
+
!1 !== newChildren
|
10231
10233
|
)
|
10232
|
-
if (isArrayImpl(
|
10234
|
+
if (isArrayImpl(newChildren))
|
10233
10235
|
for (
|
10234
10236
|
suspenseContext = 0;
|
10235
|
-
suspenseContext <
|
10237
|
+
suspenseContext < newChildren.length;
|
10236
10238
|
suspenseContext++
|
10237
10239
|
) {
|
10238
10240
|
if (
|
10239
10241
|
!validateSuspenseListNestedChild(
|
10240
|
-
|
10242
|
+
newChildren[suspenseContext],
|
10241
10243
|
suspenseContext
|
10242
10244
|
)
|
10243
10245
|
)
|
10244
10246
|
break a;
|
10245
10247
|
}
|
10246
10248
|
else if (
|
10247
|
-
((suspenseContext = getIteratorFn(
|
10249
|
+
((suspenseContext = getIteratorFn(newChildren)),
|
10248
10250
|
"function" === typeof suspenseContext)
|
10249
10251
|
) {
|
10250
|
-
if ((suspenseContext = suspenseContext.call(
|
10252
|
+
if ((suspenseContext = suspenseContext.call(newChildren)))
|
10251
10253
|
for (
|
10252
10254
|
var step = suspenseContext.next(), _i = 0;
|
10253
10255
|
!step.done;
|
@@ -10261,12 +10263,11 @@
|
|
10261
10263
|
'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?',
|
10262
10264
|
revealOrder
|
10263
10265
|
);
|
10264
|
-
reconcileChildren(current, workInProgress,
|
10265
|
-
|
10266
|
-
|
10267
|
-
|
10268
|
-
|
10269
|
-
)
|
10266
|
+
reconcileChildren(current, workInProgress, newChildren, renderLanes);
|
10267
|
+
isHydrating
|
10268
|
+
? (warnIfNotHydrating(), (newChildren = treeForkCount))
|
10269
|
+
: (newChildren = 0);
|
10270
|
+
if (!nextProps && null !== current && 0 !== (current.flags & 128))
|
10270
10271
|
a: for (current = workInProgress.child; null !== current; ) {
|
10271
10272
|
if (13 === current.tag)
|
10272
10273
|
null !== current.memoizedState &&
|
@@ -10307,7 +10308,8 @@
|
|
10307
10308
|
!1,
|
10308
10309
|
revealOrder,
|
10309
10310
|
renderLanes,
|
10310
|
-
tailMode
|
10311
|
+
tailMode,
|
10312
|
+
newChildren
|
10311
10313
|
);
|
10312
10314
|
break;
|
10313
10315
|
case "backwards":
|
@@ -10330,11 +10332,19 @@
|
|
10330
10332
|
!0,
|
10331
10333
|
renderLanes,
|
10332
10334
|
null,
|
10333
|
-
tailMode
|
10335
|
+
tailMode,
|
10336
|
+
newChildren
|
10334
10337
|
);
|
10335
10338
|
break;
|
10336
10339
|
case "together":
|
10337
|
-
initSuspenseListRenderState(
|
10340
|
+
initSuspenseListRenderState(
|
10341
|
+
workInProgress,
|
10342
|
+
!1,
|
10343
|
+
null,
|
10344
|
+
null,
|
10345
|
+
void 0,
|
10346
|
+
newChildren
|
10347
|
+
);
|
10338
10348
|
break;
|
10339
10349
|
default:
|
10340
10350
|
workInProgress.memoizedState = null;
|
@@ -11936,12 +11946,12 @@
|
|
11936
11946
|
);
|
11937
11947
|
case 19:
|
11938
11948
|
pop(suspenseStackCursor, workInProgress);
|
11939
|
-
|
11940
|
-
if (null ===
|
11941
|
-
|
11942
|
-
nextResource =
|
11949
|
+
newProps = workInProgress.memoizedState;
|
11950
|
+
if (null === newProps) return bubbleProperties(workInProgress), null;
|
11951
|
+
type = 0 !== (workInProgress.flags & 128);
|
11952
|
+
nextResource = newProps.rendering;
|
11943
11953
|
if (null === nextResource)
|
11944
|
-
if (
|
11954
|
+
if (type) cutOffTailIfNeeded(newProps, !1);
|
11945
11955
|
else {
|
11946
11956
|
if (
|
11947
11957
|
workInProgressRootExitStatus !== RootInProgress ||
|
@@ -11951,7 +11961,7 @@
|
|
11951
11961
|
nextResource = findFirstSuspended(current);
|
11952
11962
|
if (null !== nextResource) {
|
11953
11963
|
workInProgress.flags |= 128;
|
11954
|
-
cutOffTailIfNeeded(
|
11964
|
+
cutOffTailIfNeeded(newProps, !1);
|
11955
11965
|
current = nextResource.updateQueue;
|
11956
11966
|
workInProgress.updateQueue = current;
|
11957
11967
|
scheduleRetryEffect(workInProgress, current);
|
@@ -11971,65 +11981,69 @@
|
|
11971
11981
|
ForceSuspenseFallback,
|
11972
11982
|
workInProgress
|
11973
11983
|
);
|
11984
|
+
isHydrating &&
|
11985
|
+
pushTreeFork(workInProgress, newProps.treeForkCount);
|
11974
11986
|
return workInProgress.child;
|
11975
11987
|
}
|
11976
11988
|
current = current.sibling;
|
11977
11989
|
}
|
11978
|
-
null !==
|
11990
|
+
null !== newProps.tail &&
|
11979
11991
|
now$1() > workInProgressRootRenderTargetTime &&
|
11980
11992
|
((workInProgress.flags |= 128),
|
11981
|
-
(
|
11982
|
-
cutOffTailIfNeeded(
|
11993
|
+
(type = !0),
|
11994
|
+
cutOffTailIfNeeded(newProps, !1),
|
11983
11995
|
(workInProgress.lanes = 4194304));
|
11984
11996
|
}
|
11985
11997
|
else {
|
11986
|
-
if (!
|
11998
|
+
if (!type)
|
11987
11999
|
if (
|
11988
12000
|
((current = findFirstSuspended(nextResource)), null !== current)
|
11989
12001
|
) {
|
11990
12002
|
if (
|
11991
12003
|
((workInProgress.flags |= 128),
|
11992
|
-
(
|
12004
|
+
(type = !0),
|
11993
12005
|
(current = current.updateQueue),
|
11994
12006
|
(workInProgress.updateQueue = current),
|
11995
12007
|
scheduleRetryEffect(workInProgress, current),
|
11996
|
-
cutOffTailIfNeeded(
|
11997
|
-
null ===
|
11998
|
-
"hidden" ===
|
12008
|
+
cutOffTailIfNeeded(newProps, !0),
|
12009
|
+
null === newProps.tail &&
|
12010
|
+
"hidden" === newProps.tailMode &&
|
11999
12011
|
!nextResource.alternate &&
|
12000
12012
|
!isHydrating)
|
12001
12013
|
)
|
12002
12014
|
return bubbleProperties(workInProgress), null;
|
12003
12015
|
} else
|
12004
|
-
2 * now$1() -
|
12016
|
+
2 * now$1() - newProps.renderingStartTime >
|
12005
12017
|
workInProgressRootRenderTargetTime &&
|
12006
12018
|
536870912 !== renderLanes &&
|
12007
12019
|
((workInProgress.flags |= 128),
|
12008
|
-
(
|
12009
|
-
cutOffTailIfNeeded(
|
12020
|
+
(type = !0),
|
12021
|
+
cutOffTailIfNeeded(newProps, !1),
|
12010
12022
|
(workInProgress.lanes = 4194304));
|
12011
|
-
|
12023
|
+
newProps.isBackwards
|
12012
12024
|
? ((nextResource.sibling = workInProgress.child),
|
12013
12025
|
(workInProgress.child = nextResource))
|
12014
|
-
: ((current =
|
12026
|
+
: ((current = newProps.last),
|
12015
12027
|
null !== current
|
12016
12028
|
? (current.sibling = nextResource)
|
12017
12029
|
: (workInProgress.child = nextResource),
|
12018
|
-
(
|
12030
|
+
(newProps.last = nextResource));
|
12019
12031
|
}
|
12020
|
-
if (null !==
|
12032
|
+
if (null !== newProps.tail)
|
12021
12033
|
return (
|
12022
|
-
(current =
|
12023
|
-
(
|
12024
|
-
(
|
12025
|
-
(
|
12034
|
+
(current = newProps.tail),
|
12035
|
+
(newProps.rendering = current),
|
12036
|
+
(newProps.tail = current.sibling),
|
12037
|
+
(newProps.renderingStartTime = now$1()),
|
12026
12038
|
(current.sibling = null),
|
12027
12039
|
(renderLanes = suspenseStackCursor.current),
|
12028
|
-
(renderLanes =
|
12040
|
+
(renderLanes = type
|
12029
12041
|
? (renderLanes & SubtreeSuspenseContextMask) |
|
12030
12042
|
ForceSuspenseFallback
|
12031
12043
|
: renderLanes & SubtreeSuspenseContextMask),
|
12032
12044
|
push(suspenseStackCursor, renderLanes, workInProgress),
|
12045
|
+
isHydrating &&
|
12046
|
+
pushTreeFork(workInProgress, newProps.treeForkCount),
|
12033
12047
|
current
|
12034
12048
|
);
|
12035
12049
|
bubbleProperties(workInProgress);
|
@@ -25530,11 +25544,11 @@
|
|
25530
25544
|
};
|
25531
25545
|
(function () {
|
25532
25546
|
var isomorphicReactPackageVersion = React.version;
|
25533
|
-
if ("19.2.0-canary-
|
25547
|
+
if ("19.2.0-canary-56408a5b-20250610" !== isomorphicReactPackageVersion)
|
25534
25548
|
throw Error(
|
25535
25549
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
25536
25550
|
(isomorphicReactPackageVersion +
|
25537
|
-
"\n - react-dom: 19.2.0-canary-
|
25551
|
+
"\n - react-dom: 19.2.0-canary-56408a5b-20250610\nLearn more: https://react.dev/warnings/version-mismatch")
|
25538
25552
|
);
|
25539
25553
|
})();
|
25540
25554
|
("function" === typeof Map &&
|
@@ -25571,10 +25585,10 @@
|
|
25571
25585
|
!(function () {
|
25572
25586
|
var internals = {
|
25573
25587
|
bundleType: 1,
|
25574
|
-
version: "19.2.0-canary-
|
25588
|
+
version: "19.2.0-canary-56408a5b-20250610",
|
25575
25589
|
rendererPackageName: "react-dom",
|
25576
25590
|
currentDispatcherRef: ReactSharedInternals,
|
25577
|
-
reconcilerVersion: "19.2.0-canary-
|
25591
|
+
reconcilerVersion: "19.2.0-canary-56408a5b-20250610"
|
25578
25592
|
};
|
25579
25593
|
internals.overrideHookState = overrideHookState;
|
25580
25594
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -26042,7 +26056,7 @@
|
|
26042
26056
|
exports.useFormStatus = function () {
|
26043
26057
|
return resolveDispatcher().useHostTransitionStatus();
|
26044
26058
|
};
|
26045
|
-
exports.version = "19.2.0-canary-
|
26059
|
+
exports.version = "19.2.0-canary-56408a5b-20250610";
|
26046
26060
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
26047
26061
|
"function" ===
|
26048
26062
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|