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:
|
@@ -4226,7 +4226,6 @@
|
|
4226
4226
|
default:
|
4227
4227
|
if ("object" === typeof type && null !== type)
|
4228
4228
|
switch (type.$$typeof) {
|
4229
|
-
case REACT_PROVIDER_TYPE:
|
4230
4229
|
case REACT_CONTEXT_TYPE:
|
4231
4230
|
fiberTag = 10;
|
4232
4231
|
break a;
|
@@ -9702,24 +9701,24 @@
|
|
9702
9701
|
return current;
|
9703
9702
|
}
|
9704
9703
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
9705
|
-
var
|
9706
|
-
var
|
9704
|
+
var JSCompiler_object_inline_digest_2550;
|
9705
|
+
var JSCompiler_object_inline_stack_2551 = workInProgress.pendingProps;
|
9707
9706
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
9708
|
-
var
|
9707
|
+
var JSCompiler_object_inline_message_2549 = !1;
|
9709
9708
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
9710
|
-
(
|
9711
|
-
(
|
9709
|
+
(JSCompiler_object_inline_digest_2550 = didSuspend) ||
|
9710
|
+
(JSCompiler_object_inline_digest_2550 =
|
9712
9711
|
null !== current && null === current.memoizedState
|
9713
9712
|
? !1
|
9714
9713
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
9715
|
-
|
9716
|
-
((
|
9714
|
+
JSCompiler_object_inline_digest_2550 &&
|
9715
|
+
((JSCompiler_object_inline_message_2549 = !0),
|
9717
9716
|
(workInProgress.flags &= -129));
|
9718
|
-
|
9717
|
+
JSCompiler_object_inline_digest_2550 = 0 !== (workInProgress.flags & 32);
|
9719
9718
|
workInProgress.flags &= -33;
|
9720
9719
|
if (null === current) {
|
9721
9720
|
if (isHydrating) {
|
9722
|
-
|
9721
|
+
JSCompiler_object_inline_message_2549
|
9723
9722
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
9724
9723
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
9725
9724
|
(current = nextHydratableInstance)
|
@@ -9732,18 +9731,18 @@
|
|
9732
9731
|
? renderLanes
|
9733
9732
|
: null),
|
9734
9733
|
null !== renderLanes &&
|
9735
|
-
((
|
9734
|
+
((JSCompiler_object_inline_digest_2550 = {
|
9736
9735
|
dehydrated: renderLanes,
|
9737
9736
|
treeContext: getSuspendedTreeContext(),
|
9738
9737
|
retryLane: 536870912,
|
9739
9738
|
hydrationErrors: null
|
9740
9739
|
}),
|
9741
9740
|
(workInProgress.memoizedState =
|
9742
|
-
|
9743
|
-
(
|
9741
|
+
JSCompiler_object_inline_digest_2550),
|
9742
|
+
(JSCompiler_object_inline_digest_2550 =
|
9744
9743
|
createFiberFromDehydratedFragment(renderLanes)),
|
9745
|
-
(
|
9746
|
-
(workInProgress.child =
|
9744
|
+
(JSCompiler_object_inline_digest_2550.return = workInProgress),
|
9745
|
+
(workInProgress.child = JSCompiler_object_inline_digest_2550),
|
9747
9746
|
(hydrationParentFiber = workInProgress),
|
9748
9747
|
(nextHydratableInstance = null)))
|
9749
9748
|
: (renderLanes = null);
|
@@ -9757,36 +9756,36 @@
|
|
9757
9756
|
: (workInProgress.lanes = 536870912);
|
9758
9757
|
return null;
|
9759
9758
|
}
|
9760
|
-
var nextPrimaryChildren =
|
9761
|
-
|
9762
|
-
|
9763
|
-
if (
|
9759
|
+
var nextPrimaryChildren = JSCompiler_object_inline_stack_2551.children;
|
9760
|
+
JSCompiler_object_inline_stack_2551 =
|
9761
|
+
JSCompiler_object_inline_stack_2551.fallback;
|
9762
|
+
if (JSCompiler_object_inline_message_2549) {
|
9764
9763
|
reuseSuspenseHandlerOnStack(workInProgress);
|
9765
9764
|
var mode = workInProgress.mode;
|
9766
9765
|
nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
|
9767
9766
|
{ mode: "hidden", children: nextPrimaryChildren },
|
9768
9767
|
mode
|
9769
9768
|
);
|
9770
|
-
|
9771
|
-
|
9769
|
+
JSCompiler_object_inline_stack_2551 = createFiberFromFragment(
|
9770
|
+
JSCompiler_object_inline_stack_2551,
|
9772
9771
|
mode,
|
9773
9772
|
renderLanes,
|
9774
9773
|
null
|
9775
9774
|
);
|
9776
9775
|
nextPrimaryChildren.return = workInProgress;
|
9777
|
-
|
9778
|
-
nextPrimaryChildren.sibling =
|
9776
|
+
JSCompiler_object_inline_stack_2551.return = workInProgress;
|
9777
|
+
nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2551;
|
9779
9778
|
workInProgress.child = nextPrimaryChildren;
|
9780
9779
|
nextPrimaryChildren = workInProgress.child;
|
9781
9780
|
nextPrimaryChildren.memoizedState =
|
9782
9781
|
mountSuspenseOffscreenState(renderLanes);
|
9783
9782
|
nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
9784
9783
|
current,
|
9785
|
-
|
9784
|
+
JSCompiler_object_inline_digest_2550,
|
9786
9785
|
renderLanes
|
9787
9786
|
);
|
9788
9787
|
workInProgress.memoizedState = SUSPENDED_MARKER;
|
9789
|
-
return
|
9788
|
+
return JSCompiler_object_inline_stack_2551;
|
9790
9789
|
}
|
9791
9790
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9792
9791
|
return mountSuspensePrimaryChildren(
|
@@ -9796,8 +9795,8 @@
|
|
9796
9795
|
}
|
9797
9796
|
var prevState = current.memoizedState;
|
9798
9797
|
if (null !== prevState) {
|
9799
|
-
var
|
9800
|
-
if (null !==
|
9798
|
+
var JSCompiler_object_inline_componentStack_2552 = prevState.dehydrated;
|
9799
|
+
if (null !== JSCompiler_object_inline_componentStack_2552) {
|
9801
9800
|
if (didSuspend)
|
9802
9801
|
workInProgress.flags & 256
|
9803
9802
|
? (pushPrimaryTreeSuspenseHandler(workInProgress),
|
@@ -9814,13 +9813,13 @@
|
|
9814
9813
|
(workInProgress = null))
|
9815
9814
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9816
9815
|
(nextPrimaryChildren =
|
9817
|
-
|
9816
|
+
JSCompiler_object_inline_stack_2551.fallback),
|
9818
9817
|
(mode = workInProgress.mode),
|
9819
|
-
(
|
9818
|
+
(JSCompiler_object_inline_stack_2551 =
|
9820
9819
|
mountWorkInProgressOffscreenFiber(
|
9821
9820
|
{
|
9822
9821
|
mode: "visible",
|
9823
|
-
children:
|
9822
|
+
children: JSCompiler_object_inline_stack_2551.children
|
9824
9823
|
},
|
9825
9824
|
mode
|
9826
9825
|
)),
|
@@ -9831,24 +9830,24 @@
|
|
9831
9830
|
null
|
9832
9831
|
)),
|
9833
9832
|
(nextPrimaryChildren.flags |= 2),
|
9834
|
-
(
|
9833
|
+
(JSCompiler_object_inline_stack_2551.return = workInProgress),
|
9835
9834
|
(nextPrimaryChildren.return = workInProgress),
|
9836
|
-
(
|
9835
|
+
(JSCompiler_object_inline_stack_2551.sibling =
|
9837
9836
|
nextPrimaryChildren),
|
9838
|
-
(workInProgress.child =
|
9837
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2551),
|
9839
9838
|
reconcileChildFibers(
|
9840
9839
|
workInProgress,
|
9841
9840
|
current.child,
|
9842
9841
|
null,
|
9843
9842
|
renderLanes
|
9844
9843
|
),
|
9845
|
-
(
|
9846
|
-
(
|
9844
|
+
(JSCompiler_object_inline_stack_2551 = workInProgress.child),
|
9845
|
+
(JSCompiler_object_inline_stack_2551.memoizedState =
|
9847
9846
|
mountSuspenseOffscreenState(renderLanes)),
|
9848
|
-
(
|
9847
|
+
(JSCompiler_object_inline_stack_2551.childLanes =
|
9849
9848
|
getRemainingWorkInPrimaryTree(
|
9850
9849
|
current,
|
9851
|
-
|
9850
|
+
JSCompiler_object_inline_digest_2550,
|
9852
9851
|
renderLanes
|
9853
9852
|
)),
|
9854
9853
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
@@ -9857,45 +9856,45 @@
|
|
9857
9856
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9858
9857
|
warnIfHydrating(),
|
9859
9858
|
isSuspenseInstanceFallback(
|
9860
|
-
|
9859
|
+
JSCompiler_object_inline_componentStack_2552
|
9861
9860
|
))
|
9862
9861
|
) {
|
9863
|
-
|
9864
|
-
|
9865
|
-
|
9866
|
-
if (
|
9867
|
-
nextPrimaryChildren =
|
9868
|
-
var message =
|
9869
|
-
mode =
|
9870
|
-
var componentStack =
|
9862
|
+
JSCompiler_object_inline_digest_2550 =
|
9863
|
+
JSCompiler_object_inline_componentStack_2552.nextSibling &&
|
9864
|
+
JSCompiler_object_inline_componentStack_2552.nextSibling.dataset;
|
9865
|
+
if (JSCompiler_object_inline_digest_2550) {
|
9866
|
+
nextPrimaryChildren = JSCompiler_object_inline_digest_2550.dgst;
|
9867
|
+
var message = JSCompiler_object_inline_digest_2550.msg;
|
9868
|
+
mode = JSCompiler_object_inline_digest_2550.stck;
|
9869
|
+
var componentStack = JSCompiler_object_inline_digest_2550.cstck;
|
9871
9870
|
}
|
9872
|
-
|
9873
|
-
|
9874
|
-
|
9875
|
-
|
9876
|
-
nextPrimaryChildren =
|
9877
|
-
mode =
|
9871
|
+
JSCompiler_object_inline_message_2549 = message;
|
9872
|
+
JSCompiler_object_inline_digest_2550 = nextPrimaryChildren;
|
9873
|
+
JSCompiler_object_inline_stack_2551 = mode;
|
9874
|
+
JSCompiler_object_inline_componentStack_2552 = componentStack;
|
9875
|
+
nextPrimaryChildren = JSCompiler_object_inline_message_2549;
|
9876
|
+
mode = JSCompiler_object_inline_componentStack_2552;
|
9878
9877
|
nextPrimaryChildren = nextPrimaryChildren
|
9879
9878
|
? Error(nextPrimaryChildren)
|
9880
9879
|
: Error(
|
9881
9880
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9882
9881
|
);
|
9883
9882
|
nextPrimaryChildren.stack =
|
9884
|
-
|
9885
|
-
nextPrimaryChildren.digest =
|
9886
|
-
|
9883
|
+
JSCompiler_object_inline_stack_2551 || "";
|
9884
|
+
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2550;
|
9885
|
+
JSCompiler_object_inline_digest_2550 =
|
9887
9886
|
void 0 === mode ? null : mode;
|
9888
|
-
|
9887
|
+
JSCompiler_object_inline_stack_2551 = {
|
9889
9888
|
value: nextPrimaryChildren,
|
9890
9889
|
source: null,
|
9891
|
-
stack:
|
9890
|
+
stack: JSCompiler_object_inline_digest_2550
|
9892
9891
|
};
|
9893
|
-
"string" === typeof
|
9892
|
+
"string" === typeof JSCompiler_object_inline_digest_2550 &&
|
9894
9893
|
CapturedStacks.set(
|
9895
9894
|
nextPrimaryChildren,
|
9896
|
-
|
9895
|
+
JSCompiler_object_inline_stack_2551
|
9897
9896
|
);
|
9898
|
-
queueHydrationError(
|
9897
|
+
queueHydrationError(JSCompiler_object_inline_stack_2551);
|
9899
9898
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9900
9899
|
current,
|
9901
9900
|
workInProgress,
|
@@ -9909,35 +9908,35 @@
|
|
9909
9908
|
renderLanes,
|
9910
9909
|
!1
|
9911
9910
|
),
|
9912
|
-
(
|
9911
|
+
(JSCompiler_object_inline_digest_2550 =
|
9913
9912
|
0 !== (renderLanes & current.childLanes)),
|
9914
|
-
didReceiveUpdate ||
|
9913
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2550)
|
9915
9914
|
) {
|
9916
|
-
|
9915
|
+
JSCompiler_object_inline_digest_2550 = workInProgressRoot;
|
9917
9916
|
if (
|
9918
|
-
null !==
|
9919
|
-
((
|
9920
|
-
|
9917
|
+
null !== JSCompiler_object_inline_digest_2550 &&
|
9918
|
+
((JSCompiler_object_inline_stack_2551 = getBumpedLaneForHydration(
|
9919
|
+
JSCompiler_object_inline_digest_2550,
|
9921
9920
|
renderLanes
|
9922
9921
|
)),
|
9923
|
-
0 !==
|
9924
|
-
|
9922
|
+
0 !== JSCompiler_object_inline_stack_2551 &&
|
9923
|
+
JSCompiler_object_inline_stack_2551 !== prevState.retryLane)
|
9925
9924
|
)
|
9926
9925
|
throw (
|
9927
|
-
((prevState.retryLane =
|
9926
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2551),
|
9928
9927
|
enqueueConcurrentRenderForLane(
|
9929
9928
|
current,
|
9930
|
-
|
9929
|
+
JSCompiler_object_inline_stack_2551
|
9931
9930
|
),
|
9932
9931
|
scheduleUpdateOnFiber(
|
9933
|
-
|
9932
|
+
JSCompiler_object_inline_digest_2550,
|
9934
9933
|
current,
|
9935
|
-
|
9934
|
+
JSCompiler_object_inline_stack_2551
|
9936
9935
|
),
|
9937
9936
|
SelectiveHydrationException)
|
9938
9937
|
);
|
9939
9938
|
isSuspenseInstancePending(
|
9940
|
-
|
9939
|
+
JSCompiler_object_inline_componentStack_2552
|
9941
9940
|
) || renderDidSuspendDelayIfPossible();
|
9942
9941
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9943
9942
|
current,
|
@@ -9946,14 +9945,14 @@
|
|
9946
9945
|
);
|
9947
9946
|
} else
|
9948
9947
|
isSuspenseInstancePending(
|
9949
|
-
|
9948
|
+
JSCompiler_object_inline_componentStack_2552
|
9950
9949
|
)
|
9951
9950
|
? ((workInProgress.flags |= 192),
|
9952
9951
|
(workInProgress.child = current.child),
|
9953
9952
|
(workInProgress = null))
|
9954
9953
|
: ((current = prevState.treeContext),
|
9955
9954
|
(nextHydratableInstance = getNextHydratable(
|
9956
|
-
|
9955
|
+
JSCompiler_object_inline_componentStack_2552.nextSibling
|
9957
9956
|
)),
|
9958
9957
|
(hydrationParentFiber = workInProgress),
|
9959
9958
|
(isHydrating = !0),
|
@@ -9965,32 +9964,32 @@
|
|
9965
9964
|
restoreSuspendedTreeContext(workInProgress, current),
|
9966
9965
|
(workInProgress = mountSuspensePrimaryChildren(
|
9967
9966
|
workInProgress,
|
9968
|
-
|
9967
|
+
JSCompiler_object_inline_stack_2551.children
|
9969
9968
|
)),
|
9970
9969
|
(workInProgress.flags |= 4096));
|
9971
9970
|
return workInProgress;
|
9972
9971
|
}
|
9973
9972
|
}
|
9974
|
-
if (
|
9973
|
+
if (JSCompiler_object_inline_message_2549)
|
9975
9974
|
return (
|
9976
9975
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9977
|
-
(nextPrimaryChildren =
|
9976
|
+
(nextPrimaryChildren = JSCompiler_object_inline_stack_2551.fallback),
|
9978
9977
|
(mode = workInProgress.mode),
|
9979
9978
|
(componentStack = current.child),
|
9980
|
-
(
|
9979
|
+
(JSCompiler_object_inline_componentStack_2552 =
|
9981
9980
|
componentStack.sibling),
|
9982
|
-
(
|
9981
|
+
(JSCompiler_object_inline_stack_2551 = createWorkInProgress(
|
9983
9982
|
componentStack,
|
9984
9983
|
{
|
9985
9984
|
mode: "hidden",
|
9986
|
-
children:
|
9985
|
+
children: JSCompiler_object_inline_stack_2551.children
|
9987
9986
|
}
|
9988
9987
|
)),
|
9989
|
-
(
|
9988
|
+
(JSCompiler_object_inline_stack_2551.subtreeFlags =
|
9990
9989
|
componentStack.subtreeFlags & 65011712),
|
9991
|
-
null !==
|
9990
|
+
null !== JSCompiler_object_inline_componentStack_2552
|
9992
9991
|
? (nextPrimaryChildren = createWorkInProgress(
|
9993
|
-
|
9992
|
+
JSCompiler_object_inline_componentStack_2552,
|
9994
9993
|
nextPrimaryChildren
|
9995
9994
|
))
|
9996
9995
|
: ((nextPrimaryChildren = createFiberFromFragment(
|
@@ -10001,24 +10000,24 @@
|
|
10001
10000
|
)),
|
10002
10001
|
(nextPrimaryChildren.flags |= 2)),
|
10003
10002
|
(nextPrimaryChildren.return = workInProgress),
|
10004
|
-
(
|
10005
|
-
(
|
10006
|
-
(workInProgress.child =
|
10007
|
-
(
|
10003
|
+
(JSCompiler_object_inline_stack_2551.return = workInProgress),
|
10004
|
+
(JSCompiler_object_inline_stack_2551.sibling = nextPrimaryChildren),
|
10005
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2551),
|
10006
|
+
(JSCompiler_object_inline_stack_2551 = nextPrimaryChildren),
|
10008
10007
|
(nextPrimaryChildren = workInProgress.child),
|
10009
10008
|
(mode = current.child.memoizedState),
|
10010
10009
|
null === mode
|
10011
10010
|
? (mode = mountSuspenseOffscreenState(renderLanes))
|
10012
10011
|
: ((componentStack = mode.cachePool),
|
10013
10012
|
null !== componentStack
|
10014
|
-
? ((
|
10013
|
+
? ((JSCompiler_object_inline_componentStack_2552 =
|
10015
10014
|
CacheContext._currentValue),
|
10016
10015
|
(componentStack =
|
10017
10016
|
componentStack.parent !==
|
10018
|
-
|
10017
|
+
JSCompiler_object_inline_componentStack_2552
|
10019
10018
|
? {
|
10020
|
-
parent:
|
10021
|
-
pool:
|
10019
|
+
parent: JSCompiler_object_inline_componentStack_2552,
|
10020
|
+
pool: JSCompiler_object_inline_componentStack_2552
|
10022
10021
|
}
|
10023
10022
|
: componentStack))
|
10024
10023
|
: (componentStack = getSuspendedCache()),
|
@@ -10029,27 +10028,27 @@
|
|
10029
10028
|
(nextPrimaryChildren.memoizedState = mode),
|
10030
10029
|
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
10031
10030
|
current,
|
10032
|
-
|
10031
|
+
JSCompiler_object_inline_digest_2550,
|
10033
10032
|
renderLanes
|
10034
10033
|
)),
|
10035
10034
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
10036
|
-
|
10035
|
+
JSCompiler_object_inline_stack_2551
|
10037
10036
|
);
|
10038
10037
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
10039
10038
|
renderLanes = current.child;
|
10040
10039
|
current = renderLanes.sibling;
|
10041
10040
|
renderLanes = createWorkInProgress(renderLanes, {
|
10042
10041
|
mode: "visible",
|
10043
|
-
children:
|
10042
|
+
children: JSCompiler_object_inline_stack_2551.children
|
10044
10043
|
});
|
10045
10044
|
renderLanes.return = workInProgress;
|
10046
10045
|
renderLanes.sibling = null;
|
10047
10046
|
null !== current &&
|
10048
|
-
((
|
10049
|
-
null ===
|
10047
|
+
((JSCompiler_object_inline_digest_2550 = workInProgress.deletions),
|
10048
|
+
null === JSCompiler_object_inline_digest_2550
|
10050
10049
|
? ((workInProgress.deletions = [current]),
|
10051
10050
|
(workInProgress.flags |= 16))
|
10052
|
-
:
|
10051
|
+
: JSCompiler_object_inline_digest_2550.push(current));
|
10053
10052
|
workInProgress.child = renderLanes;
|
10054
10053
|
workInProgress.memoizedState = null;
|
10055
10054
|
return renderLanes;
|
@@ -10102,7 +10101,8 @@
|
|
10102
10101
|
isBackwards,
|
10103
10102
|
tail,
|
10104
10103
|
lastContentRow,
|
10105
|
-
tailMode
|
10104
|
+
tailMode,
|
10105
|
+
treeForkCount
|
10106
10106
|
) {
|
10107
10107
|
var renderState = workInProgress.memoizedState;
|
10108
10108
|
null === renderState
|
@@ -10112,23 +10112,24 @@
|
|
10112
10112
|
renderingStartTime: 0,
|
10113
10113
|
last: lastContentRow,
|
10114
10114
|
tail: tail,
|
10115
|
-
tailMode: tailMode
|
10115
|
+
tailMode: tailMode,
|
10116
|
+
treeForkCount: treeForkCount
|
10116
10117
|
})
|
10117
10118
|
: ((renderState.isBackwards = isBackwards),
|
10118
10119
|
(renderState.rendering = null),
|
10119
10120
|
(renderState.renderingStartTime = 0),
|
10120
10121
|
(renderState.last = lastContentRow),
|
10121
10122
|
(renderState.tail = tail),
|
10122
|
-
(renderState.tailMode = tailMode)
|
10123
|
+
(renderState.tailMode = tailMode),
|
10124
|
+
(renderState.treeForkCount = treeForkCount));
|
10123
10125
|
}
|
10124
10126
|
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
10125
10127
|
var nextProps = workInProgress.pendingProps,
|
10126
10128
|
revealOrder = nextProps.revealOrder,
|
10127
|
-
tailMode = nextProps.tail
|
10128
|
-
|
10129
|
-
|
10130
|
-
|
10131
|
-
shouldForceFallback
|
10129
|
+
tailMode = nextProps.tail,
|
10130
|
+
newChildren = nextProps.children,
|
10131
|
+
suspenseContext = suspenseStackCursor.current;
|
10132
|
+
(nextProps = 0 !== (suspenseContext & ForceSuspenseFallback))
|
10132
10133
|
? ((suspenseContext =
|
10133
10134
|
(suspenseContext & SubtreeSuspenseContextMask) |
|
10134
10135
|
ForceSuspenseFallback),
|
@@ -10217,29 +10218,29 @@
|
|
10217
10218
|
("forwards" === revealOrder ||
|
10218
10219
|
"backwards" === revealOrder ||
|
10219
10220
|
"unstable_legacy-backwards" === revealOrder) &&
|
10220
|
-
void 0 !==
|
10221
|
-
null !==
|
10222
|
-
!1 !==
|
10221
|
+
void 0 !== newChildren &&
|
10222
|
+
null !== newChildren &&
|
10223
|
+
!1 !== newChildren
|
10223
10224
|
)
|
10224
|
-
if (isArrayImpl(
|
10225
|
+
if (isArrayImpl(newChildren))
|
10225
10226
|
for (
|
10226
10227
|
suspenseContext = 0;
|
10227
|
-
suspenseContext <
|
10228
|
+
suspenseContext < newChildren.length;
|
10228
10229
|
suspenseContext++
|
10229
10230
|
) {
|
10230
10231
|
if (
|
10231
10232
|
!validateSuspenseListNestedChild(
|
10232
|
-
|
10233
|
+
newChildren[suspenseContext],
|
10233
10234
|
suspenseContext
|
10234
10235
|
)
|
10235
10236
|
)
|
10236
10237
|
break a;
|
10237
10238
|
}
|
10238
10239
|
else if (
|
10239
|
-
((suspenseContext = getIteratorFn(
|
10240
|
+
((suspenseContext = getIteratorFn(newChildren)),
|
10240
10241
|
"function" === typeof suspenseContext)
|
10241
10242
|
) {
|
10242
|
-
if ((suspenseContext = suspenseContext.call(
|
10243
|
+
if ((suspenseContext = suspenseContext.call(newChildren)))
|
10243
10244
|
for (
|
10244
10245
|
var step = suspenseContext.next(), _i = 0;
|
10245
10246
|
!step.done;
|
@@ -10253,12 +10254,11 @@
|
|
10253
10254
|
'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?',
|
10254
10255
|
revealOrder
|
10255
10256
|
);
|
10256
|
-
reconcileChildren(current, workInProgress,
|
10257
|
-
|
10258
|
-
|
10259
|
-
|
10260
|
-
|
10261
|
-
)
|
10257
|
+
reconcileChildren(current, workInProgress, newChildren, renderLanes);
|
10258
|
+
isHydrating
|
10259
|
+
? (warnIfNotHydrating(), (newChildren = treeForkCount))
|
10260
|
+
: (newChildren = 0);
|
10261
|
+
if (!nextProps && null !== current && 0 !== (current.flags & 128))
|
10262
10262
|
a: for (current = workInProgress.child; null !== current; ) {
|
10263
10263
|
if (13 === current.tag)
|
10264
10264
|
null !== current.memoizedState &&
|
@@ -10299,7 +10299,8 @@
|
|
10299
10299
|
!1,
|
10300
10300
|
revealOrder,
|
10301
10301
|
renderLanes,
|
10302
|
-
tailMode
|
10302
|
+
tailMode,
|
10303
|
+
newChildren
|
10303
10304
|
);
|
10304
10305
|
break;
|
10305
10306
|
case "backwards":
|
@@ -10322,11 +10323,19 @@
|
|
10322
10323
|
!0,
|
10323
10324
|
renderLanes,
|
10324
10325
|
null,
|
10325
|
-
tailMode
|
10326
|
+
tailMode,
|
10327
|
+
newChildren
|
10326
10328
|
);
|
10327
10329
|
break;
|
10328
10330
|
case "together":
|
10329
|
-
initSuspenseListRenderState(
|
10331
|
+
initSuspenseListRenderState(
|
10332
|
+
workInProgress,
|
10333
|
+
!1,
|
10334
|
+
null,
|
10335
|
+
null,
|
10336
|
+
void 0,
|
10337
|
+
newChildren
|
10338
|
+
);
|
10330
10339
|
break;
|
10331
10340
|
default:
|
10332
10341
|
workInProgress.memoizedState = null;
|
@@ -11928,12 +11937,12 @@
|
|
11928
11937
|
);
|
11929
11938
|
case 19:
|
11930
11939
|
pop(suspenseStackCursor, workInProgress);
|
11931
|
-
|
11932
|
-
if (null ===
|
11933
|
-
|
11934
|
-
nextResource =
|
11940
|
+
newProps = workInProgress.memoizedState;
|
11941
|
+
if (null === newProps) return bubbleProperties(workInProgress), null;
|
11942
|
+
type = 0 !== (workInProgress.flags & 128);
|
11943
|
+
nextResource = newProps.rendering;
|
11935
11944
|
if (null === nextResource)
|
11936
|
-
if (
|
11945
|
+
if (type) cutOffTailIfNeeded(newProps, !1);
|
11937
11946
|
else {
|
11938
11947
|
if (
|
11939
11948
|
workInProgressRootExitStatus !== RootInProgress ||
|
@@ -11943,7 +11952,7 @@
|
|
11943
11952
|
nextResource = findFirstSuspended(current);
|
11944
11953
|
if (null !== nextResource) {
|
11945
11954
|
workInProgress.flags |= 128;
|
11946
|
-
cutOffTailIfNeeded(
|
11955
|
+
cutOffTailIfNeeded(newProps, !1);
|
11947
11956
|
current = nextResource.updateQueue;
|
11948
11957
|
workInProgress.updateQueue = current;
|
11949
11958
|
scheduleRetryEffect(workInProgress, current);
|
@@ -11963,65 +11972,69 @@
|
|
11963
11972
|
ForceSuspenseFallback,
|
11964
11973
|
workInProgress
|
11965
11974
|
);
|
11975
|
+
isHydrating &&
|
11976
|
+
pushTreeFork(workInProgress, newProps.treeForkCount);
|
11966
11977
|
return workInProgress.child;
|
11967
11978
|
}
|
11968
11979
|
current = current.sibling;
|
11969
11980
|
}
|
11970
|
-
null !==
|
11981
|
+
null !== newProps.tail &&
|
11971
11982
|
now$1() > workInProgressRootRenderTargetTime &&
|
11972
11983
|
((workInProgress.flags |= 128),
|
11973
|
-
(
|
11974
|
-
cutOffTailIfNeeded(
|
11984
|
+
(type = !0),
|
11985
|
+
cutOffTailIfNeeded(newProps, !1),
|
11975
11986
|
(workInProgress.lanes = 4194304));
|
11976
11987
|
}
|
11977
11988
|
else {
|
11978
|
-
if (!
|
11989
|
+
if (!type)
|
11979
11990
|
if (
|
11980
11991
|
((current = findFirstSuspended(nextResource)), null !== current)
|
11981
11992
|
) {
|
11982
11993
|
if (
|
11983
11994
|
((workInProgress.flags |= 128),
|
11984
|
-
(
|
11995
|
+
(type = !0),
|
11985
11996
|
(current = current.updateQueue),
|
11986
11997
|
(workInProgress.updateQueue = current),
|
11987
11998
|
scheduleRetryEffect(workInProgress, current),
|
11988
|
-
cutOffTailIfNeeded(
|
11989
|
-
null ===
|
11990
|
-
"hidden" ===
|
11999
|
+
cutOffTailIfNeeded(newProps, !0),
|
12000
|
+
null === newProps.tail &&
|
12001
|
+
"hidden" === newProps.tailMode &&
|
11991
12002
|
!nextResource.alternate &&
|
11992
12003
|
!isHydrating)
|
11993
12004
|
)
|
11994
12005
|
return bubbleProperties(workInProgress), null;
|
11995
12006
|
} else
|
11996
|
-
2 * now$1() -
|
12007
|
+
2 * now$1() - newProps.renderingStartTime >
|
11997
12008
|
workInProgressRootRenderTargetTime &&
|
11998
12009
|
536870912 !== renderLanes &&
|
11999
12010
|
((workInProgress.flags |= 128),
|
12000
|
-
(
|
12001
|
-
cutOffTailIfNeeded(
|
12011
|
+
(type = !0),
|
12012
|
+
cutOffTailIfNeeded(newProps, !1),
|
12002
12013
|
(workInProgress.lanes = 4194304));
|
12003
|
-
|
12014
|
+
newProps.isBackwards
|
12004
12015
|
? ((nextResource.sibling = workInProgress.child),
|
12005
12016
|
(workInProgress.child = nextResource))
|
12006
|
-
: ((current =
|
12017
|
+
: ((current = newProps.last),
|
12007
12018
|
null !== current
|
12008
12019
|
? (current.sibling = nextResource)
|
12009
12020
|
: (workInProgress.child = nextResource),
|
12010
|
-
(
|
12021
|
+
(newProps.last = nextResource));
|
12011
12022
|
}
|
12012
|
-
if (null !==
|
12023
|
+
if (null !== newProps.tail)
|
12013
12024
|
return (
|
12014
|
-
(current =
|
12015
|
-
(
|
12016
|
-
(
|
12017
|
-
(
|
12025
|
+
(current = newProps.tail),
|
12026
|
+
(newProps.rendering = current),
|
12027
|
+
(newProps.tail = current.sibling),
|
12028
|
+
(newProps.renderingStartTime = now$1()),
|
12018
12029
|
(current.sibling = null),
|
12019
12030
|
(renderLanes = suspenseStackCursor.current),
|
12020
|
-
(renderLanes =
|
12031
|
+
(renderLanes = type
|
12021
12032
|
? (renderLanes & SubtreeSuspenseContextMask) |
|
12022
12033
|
ForceSuspenseFallback
|
12023
12034
|
: renderLanes & SubtreeSuspenseContextMask),
|
12024
12035
|
push(suspenseStackCursor, renderLanes, workInProgress),
|
12036
|
+
isHydrating &&
|
12037
|
+
pushTreeFork(workInProgress, newProps.treeForkCount),
|
12025
12038
|
current
|
12026
12039
|
);
|
12027
12040
|
bubbleProperties(workInProgress);
|
@@ -21895,7 +21908,6 @@
|
|
21895
21908
|
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
21896
21909
|
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
21897
21910
|
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
|
21898
|
-
REACT_PROVIDER_TYPE = Symbol.for("react.provider"),
|
21899
21911
|
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
21900
21912
|
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
21901
21913
|
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
@@ -25478,11 +25490,11 @@
|
|
25478
25490
|
};
|
25479
25491
|
(function () {
|
25480
25492
|
var isomorphicReactPackageVersion = React.version;
|
25481
|
-
if ("19.2.0-canary-
|
25493
|
+
if ("19.2.0-canary-b7e2de63-20250611" !== isomorphicReactPackageVersion)
|
25482
25494
|
throw Error(
|
25483
25495
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
25484
25496
|
(isomorphicReactPackageVersion +
|
25485
|
-
"\n - react-dom: 19.2.0-canary-
|
25497
|
+
"\n - react-dom: 19.2.0-canary-b7e2de63-20250611\nLearn more: https://react.dev/warnings/version-mismatch")
|
25486
25498
|
);
|
25487
25499
|
})();
|
25488
25500
|
("function" === typeof Map &&
|
@@ -25519,10 +25531,10 @@
|
|
25519
25531
|
!(function () {
|
25520
25532
|
var internals = {
|
25521
25533
|
bundleType: 1,
|
25522
|
-
version: "19.2.0-canary-
|
25534
|
+
version: "19.2.0-canary-b7e2de63-20250611",
|
25523
25535
|
rendererPackageName: "react-dom",
|
25524
25536
|
currentDispatcherRef: ReactSharedInternals,
|
25525
|
-
reconcilerVersion: "19.2.0-canary-
|
25537
|
+
reconcilerVersion: "19.2.0-canary-b7e2de63-20250611"
|
25526
25538
|
};
|
25527
25539
|
internals.overrideHookState = overrideHookState;
|
25528
25540
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25660,7 +25672,7 @@
|
|
25660
25672
|
listenToAllSupportedEvents(container);
|
25661
25673
|
return new ReactDOMHydrationRoot(initialChildren);
|
25662
25674
|
};
|
25663
|
-
exports.version = "19.2.0-canary-
|
25675
|
+
exports.version = "19.2.0-canary-b7e2de63-20250611";
|
25664
25676
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25665
25677
|
"function" ===
|
25666
25678
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|