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