react-dom 19.2.0-canary-f1e70b5e-20250811 → 19.2.0-canary-ac7820a9-20250811
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 +286 -266
- package/cjs/react-dom-client.production.js +337 -328
- package/cjs/react-dom-profiling.development.js +286 -266
- package/cjs/react-dom-profiling.profiling.js +355 -346
- 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 +3 -3
- package/cjs/react-dom-server.node.production.js +3 -3
- 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
@@ -8926,6 +8926,14 @@
|
|
8926
8926
|
) {
|
8927
8927
|
var nextChildren = nextProps.children,
|
8928
8928
|
prevState = null !== current ? current.memoizedState : null;
|
8929
|
+
null === current &&
|
8930
|
+
null === workInProgress.stateNode &&
|
8931
|
+
(workInProgress.stateNode = {
|
8932
|
+
_visibility: OffscreenVisible,
|
8933
|
+
_pendingMarkers: null,
|
8934
|
+
_retryCache: null,
|
8935
|
+
_transitions: null
|
8936
|
+
});
|
8929
8937
|
if ("hidden" === nextProps.mode) {
|
8930
8938
|
if (0 !== (workInProgress.flags & 128)) {
|
8931
8939
|
nextProps =
|
@@ -8982,6 +8990,17 @@
|
|
8982
8990
|
reconcileChildren(current, workInProgress, nextChildren, renderLanes);
|
8983
8991
|
return workInProgress.child;
|
8984
8992
|
}
|
8993
|
+
function bailoutOffscreenComponent(current, workInProgress) {
|
8994
|
+
(null !== current && 22 === current.tag) ||
|
8995
|
+
null !== workInProgress.stateNode ||
|
8996
|
+
(workInProgress.stateNode = {
|
8997
|
+
_visibility: OffscreenVisible,
|
8998
|
+
_pendingMarkers: null,
|
8999
|
+
_retryCache: null,
|
9000
|
+
_transitions: null
|
9001
|
+
});
|
9002
|
+
return workInProgress.sibling;
|
9003
|
+
}
|
8985
9004
|
function deferHiddenOffscreenComponent(
|
8986
9005
|
current,
|
8987
9006
|
workInProgress,
|
@@ -9043,6 +9062,135 @@
|
|
9043
9062
|
workInProgress.memoizedState = null;
|
9044
9063
|
return current;
|
9045
9064
|
}
|
9065
|
+
function updateActivityComponent(current, workInProgress, renderLanes) {
|
9066
|
+
var nextProps = workInProgress.pendingProps,
|
9067
|
+
didSuspend = 0 !== (workInProgress.flags & 128);
|
9068
|
+
workInProgress.flags &= -129;
|
9069
|
+
if (null === current) {
|
9070
|
+
if (isHydrating) {
|
9071
|
+
if ("hidden" === nextProps.mode)
|
9072
|
+
return (
|
9073
|
+
(current = mountActivityChildren(workInProgress, nextProps)),
|
9074
|
+
(workInProgress.lanes = 536870912),
|
9075
|
+
bailoutOffscreenComponent(null, current)
|
9076
|
+
);
|
9077
|
+
pushDehydratedActivitySuspenseHandler(workInProgress);
|
9078
|
+
if ((current = nextHydratableInstance)) {
|
9079
|
+
if (
|
9080
|
+
((renderLanes = canHydrateHydrationBoundary(
|
9081
|
+
current,
|
9082
|
+
rootOrSingletonContext
|
9083
|
+
)),
|
9084
|
+
(renderLanes =
|
9085
|
+
null !== renderLanes && renderLanes.data === ACTIVITY_START_DATA
|
9086
|
+
? renderLanes
|
9087
|
+
: null),
|
9088
|
+
null !== renderLanes)
|
9089
|
+
) {
|
9090
|
+
var activityState = {
|
9091
|
+
dehydrated: renderLanes,
|
9092
|
+
treeContext: getSuspendedTreeContext(),
|
9093
|
+
retryLane: 536870912,
|
9094
|
+
hydrationErrors: null
|
9095
|
+
};
|
9096
|
+
workInProgress.memoizedState = activityState;
|
9097
|
+
activityState = createFiberFromDehydratedFragment(renderLanes);
|
9098
|
+
activityState.return = workInProgress;
|
9099
|
+
workInProgress.child = activityState;
|
9100
|
+
hydrationParentFiber = workInProgress;
|
9101
|
+
nextHydratableInstance = null;
|
9102
|
+
}
|
9103
|
+
} else renderLanes = null;
|
9104
|
+
if (null === renderLanes)
|
9105
|
+
throw (
|
9106
|
+
(warnNonHydratedInstance(workInProgress, current),
|
9107
|
+
throwOnHydrationMismatch(workInProgress))
|
9108
|
+
);
|
9109
|
+
workInProgress.lanes = 536870912;
|
9110
|
+
return null;
|
9111
|
+
}
|
9112
|
+
return mountActivityChildren(workInProgress, nextProps);
|
9113
|
+
}
|
9114
|
+
activityState = current.memoizedState;
|
9115
|
+
if (null !== activityState) {
|
9116
|
+
var activityInstance = activityState.dehydrated;
|
9117
|
+
pushDehydratedActivitySuspenseHandler(workInProgress);
|
9118
|
+
if (didSuspend)
|
9119
|
+
if (workInProgress.flags & 256)
|
9120
|
+
(workInProgress.flags &= -257),
|
9121
|
+
(workInProgress = retryActivityComponentWithoutHydrating(
|
9122
|
+
current,
|
9123
|
+
workInProgress,
|
9124
|
+
renderLanes
|
9125
|
+
));
|
9126
|
+
else if (null !== workInProgress.memoizedState)
|
9127
|
+
(workInProgress.child = current.child),
|
9128
|
+
(workInProgress.flags |= 128),
|
9129
|
+
(workInProgress = null);
|
9130
|
+
else
|
9131
|
+
throw Error(
|
9132
|
+
"Client rendering an Activity suspended it again. This is a bug in React."
|
9133
|
+
);
|
9134
|
+
else if (
|
9135
|
+
(warnIfHydrating(),
|
9136
|
+
didReceiveUpdate ||
|
9137
|
+
propagateParentContextChanges(
|
9138
|
+
current,
|
9139
|
+
workInProgress,
|
9140
|
+
renderLanes,
|
9141
|
+
!1
|
9142
|
+
),
|
9143
|
+
(didSuspend = 0 !== (renderLanes & current.childLanes)),
|
9144
|
+
didReceiveUpdate || didSuspend)
|
9145
|
+
) {
|
9146
|
+
nextProps = workInProgressRoot;
|
9147
|
+
if (
|
9148
|
+
null !== nextProps &&
|
9149
|
+
((activityInstance = getBumpedLaneForHydration(
|
9150
|
+
nextProps,
|
9151
|
+
renderLanes
|
9152
|
+
)),
|
9153
|
+
0 !== activityInstance &&
|
9154
|
+
activityInstance !== activityState.retryLane)
|
9155
|
+
)
|
9156
|
+
throw (
|
9157
|
+
((activityState.retryLane = activityInstance),
|
9158
|
+
enqueueConcurrentRenderForLane(current, activityInstance),
|
9159
|
+
scheduleUpdateOnFiber(nextProps, current, activityInstance),
|
9160
|
+
SelectiveHydrationException)
|
9161
|
+
);
|
9162
|
+
renderDidSuspendDelayIfPossible();
|
9163
|
+
workInProgress = retryActivityComponentWithoutHydrating(
|
9164
|
+
current,
|
9165
|
+
workInProgress,
|
9166
|
+
renderLanes
|
9167
|
+
);
|
9168
|
+
} else
|
9169
|
+
(current = activityState.treeContext),
|
9170
|
+
(nextHydratableInstance = getNextHydratable(
|
9171
|
+
activityInstance.nextSibling
|
9172
|
+
)),
|
9173
|
+
(hydrationParentFiber = workInProgress),
|
9174
|
+
(isHydrating = !0),
|
9175
|
+
(hydrationErrors = null),
|
9176
|
+
(didSuspendOrErrorDEV = !1),
|
9177
|
+
(hydrationDiffRootDEV = null),
|
9178
|
+
(rootOrSingletonContext = !1),
|
9179
|
+
null !== current &&
|
9180
|
+
restoreSuspendedTreeContext(workInProgress, current),
|
9181
|
+
(workInProgress = mountActivityChildren(workInProgress, nextProps)),
|
9182
|
+
(workInProgress.flags |= 4096);
|
9183
|
+
return workInProgress;
|
9184
|
+
}
|
9185
|
+
current = createWorkInProgress(current.child, {
|
9186
|
+
mode: nextProps.mode,
|
9187
|
+
children: nextProps.children
|
9188
|
+
});
|
9189
|
+
current.ref = workInProgress.ref;
|
9190
|
+
workInProgress.child = current;
|
9191
|
+
current.return = workInProgress;
|
9192
|
+
return current;
|
9193
|
+
}
|
9046
9194
|
function markRef(current, workInProgress) {
|
9047
9195
|
var ref = workInProgress.ref;
|
9048
9196
|
if (null === ref)
|
@@ -9747,24 +9895,24 @@
|
|
9747
9895
|
return current;
|
9748
9896
|
}
|
9749
9897
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
9750
|
-
var
|
9751
|
-
var
|
9898
|
+
var JSCompiler_object_inline_digest_2532;
|
9899
|
+
var JSCompiler_object_inline_stack_2533 = workInProgress.pendingProps;
|
9752
9900
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
9753
|
-
var
|
9901
|
+
var JSCompiler_object_inline_message_2531 = !1;
|
9754
9902
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
9755
|
-
(
|
9756
|
-
(
|
9903
|
+
(JSCompiler_object_inline_digest_2532 = didSuspend) ||
|
9904
|
+
(JSCompiler_object_inline_digest_2532 =
|
9757
9905
|
null !== current && null === current.memoizedState
|
9758
9906
|
? !1
|
9759
9907
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
9760
|
-
|
9761
|
-
((
|
9908
|
+
JSCompiler_object_inline_digest_2532 &&
|
9909
|
+
((JSCompiler_object_inline_message_2531 = !0),
|
9762
9910
|
(workInProgress.flags &= -129));
|
9763
|
-
|
9911
|
+
JSCompiler_object_inline_digest_2532 = 0 !== (workInProgress.flags & 32);
|
9764
9912
|
workInProgress.flags &= -33;
|
9765
9913
|
if (null === current) {
|
9766
9914
|
if (isHydrating) {
|
9767
|
-
|
9915
|
+
JSCompiler_object_inline_message_2531
|
9768
9916
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
9769
9917
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
9770
9918
|
(current = nextHydratableInstance)
|
@@ -9777,18 +9925,18 @@
|
|
9777
9925
|
? renderLanes
|
9778
9926
|
: null),
|
9779
9927
|
null !== renderLanes &&
|
9780
|
-
((
|
9928
|
+
((JSCompiler_object_inline_digest_2532 = {
|
9781
9929
|
dehydrated: renderLanes,
|
9782
9930
|
treeContext: getSuspendedTreeContext(),
|
9783
9931
|
retryLane: 536870912,
|
9784
9932
|
hydrationErrors: null
|
9785
9933
|
}),
|
9786
9934
|
(workInProgress.memoizedState =
|
9787
|
-
|
9788
|
-
(
|
9935
|
+
JSCompiler_object_inline_digest_2532),
|
9936
|
+
(JSCompiler_object_inline_digest_2532 =
|
9789
9937
|
createFiberFromDehydratedFragment(renderLanes)),
|
9790
|
-
(
|
9791
|
-
(workInProgress.child =
|
9938
|
+
(JSCompiler_object_inline_digest_2532.return = workInProgress),
|
9939
|
+
(workInProgress.child = JSCompiler_object_inline_digest_2532),
|
9792
9940
|
(hydrationParentFiber = workInProgress),
|
9793
9941
|
(nextHydratableInstance = null)))
|
9794
9942
|
: (renderLanes = null);
|
@@ -9802,36 +9950,40 @@
|
|
9802
9950
|
: (workInProgress.lanes = 536870912);
|
9803
9951
|
return null;
|
9804
9952
|
}
|
9805
|
-
var nextPrimaryChildren =
|
9806
|
-
|
9807
|
-
|
9808
|
-
if (
|
9953
|
+
var nextPrimaryChildren = JSCompiler_object_inline_stack_2533.children;
|
9954
|
+
JSCompiler_object_inline_stack_2533 =
|
9955
|
+
JSCompiler_object_inline_stack_2533.fallback;
|
9956
|
+
if (JSCompiler_object_inline_message_2531) {
|
9809
9957
|
reuseSuspenseHandlerOnStack(workInProgress);
|
9810
9958
|
var mode = workInProgress.mode;
|
9811
9959
|
nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
|
9812
9960
|
{ mode: "hidden", children: nextPrimaryChildren },
|
9813
9961
|
mode
|
9814
9962
|
);
|
9815
|
-
|
9816
|
-
|
9963
|
+
JSCompiler_object_inline_stack_2533 = createFiberFromFragment(
|
9964
|
+
JSCompiler_object_inline_stack_2533,
|
9817
9965
|
mode,
|
9818
9966
|
renderLanes,
|
9819
9967
|
null
|
9820
9968
|
);
|
9821
9969
|
nextPrimaryChildren.return = workInProgress;
|
9822
|
-
|
9823
|
-
nextPrimaryChildren.sibling =
|
9970
|
+
JSCompiler_object_inline_stack_2533.return = workInProgress;
|
9971
|
+
nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2533;
|
9824
9972
|
workInProgress.child = nextPrimaryChildren;
|
9825
|
-
|
9826
|
-
|
9973
|
+
JSCompiler_object_inline_stack_2533 = workInProgress.child;
|
9974
|
+
JSCompiler_object_inline_stack_2533.memoizedState =
|
9827
9975
|
mountSuspenseOffscreenState(renderLanes);
|
9828
|
-
|
9829
|
-
|
9830
|
-
|
9831
|
-
|
9832
|
-
|
9976
|
+
JSCompiler_object_inline_stack_2533.childLanes =
|
9977
|
+
getRemainingWorkInPrimaryTree(
|
9978
|
+
current,
|
9979
|
+
JSCompiler_object_inline_digest_2532,
|
9980
|
+
renderLanes
|
9981
|
+
);
|
9833
9982
|
workInProgress.memoizedState = SUSPENDED_MARKER;
|
9834
|
-
return
|
9983
|
+
return bailoutOffscreenComponent(
|
9984
|
+
null,
|
9985
|
+
JSCompiler_object_inline_stack_2533
|
9986
|
+
);
|
9835
9987
|
}
|
9836
9988
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9837
9989
|
return mountSuspensePrimaryChildren(
|
@@ -9841,8 +9993,8 @@
|
|
9841
9993
|
}
|
9842
9994
|
var prevState = current.memoizedState;
|
9843
9995
|
if (null !== prevState) {
|
9844
|
-
var
|
9845
|
-
if (null !==
|
9996
|
+
var JSCompiler_object_inline_componentStack_2534 = prevState.dehydrated;
|
9997
|
+
if (null !== JSCompiler_object_inline_componentStack_2534) {
|
9846
9998
|
if (didSuspend)
|
9847
9999
|
workInProgress.flags & 256
|
9848
10000
|
? (pushPrimaryTreeSuspenseHandler(workInProgress),
|
@@ -9859,13 +10011,13 @@
|
|
9859
10011
|
(workInProgress = null))
|
9860
10012
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9861
10013
|
(nextPrimaryChildren =
|
9862
|
-
|
10014
|
+
JSCompiler_object_inline_stack_2533.fallback),
|
9863
10015
|
(mode = workInProgress.mode),
|
9864
|
-
(
|
10016
|
+
(JSCompiler_object_inline_stack_2533 =
|
9865
10017
|
mountWorkInProgressOffscreenFiber(
|
9866
10018
|
{
|
9867
10019
|
mode: "visible",
|
9868
|
-
children:
|
10020
|
+
children: JSCompiler_object_inline_stack_2533.children
|
9869
10021
|
},
|
9870
10022
|
mode
|
9871
10023
|
)),
|
@@ -9876,71 +10028,74 @@
|
|
9876
10028
|
null
|
9877
10029
|
)),
|
9878
10030
|
(nextPrimaryChildren.flags |= 2),
|
9879
|
-
(
|
10031
|
+
(JSCompiler_object_inline_stack_2533.return = workInProgress),
|
9880
10032
|
(nextPrimaryChildren.return = workInProgress),
|
9881
|
-
(
|
10033
|
+
(JSCompiler_object_inline_stack_2533.sibling =
|
9882
10034
|
nextPrimaryChildren),
|
9883
|
-
(workInProgress.child =
|
10035
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2533),
|
9884
10036
|
reconcileChildFibers(
|
9885
10037
|
workInProgress,
|
9886
10038
|
current.child,
|
9887
10039
|
null,
|
9888
10040
|
renderLanes
|
9889
10041
|
),
|
9890
|
-
(
|
9891
|
-
(
|
10042
|
+
(JSCompiler_object_inline_stack_2533 = workInProgress.child),
|
10043
|
+
(JSCompiler_object_inline_stack_2533.memoizedState =
|
9892
10044
|
mountSuspenseOffscreenState(renderLanes)),
|
9893
|
-
(
|
10045
|
+
(JSCompiler_object_inline_stack_2533.childLanes =
|
9894
10046
|
getRemainingWorkInPrimaryTree(
|
9895
10047
|
current,
|
9896
|
-
|
10048
|
+
JSCompiler_object_inline_digest_2532,
|
9897
10049
|
renderLanes
|
9898
10050
|
)),
|
9899
10051
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9900
|
-
(workInProgress =
|
10052
|
+
(workInProgress = bailoutOffscreenComponent(
|
10053
|
+
null,
|
10054
|
+
JSCompiler_object_inline_stack_2533
|
10055
|
+
)));
|
9901
10056
|
else if (
|
9902
10057
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9903
10058
|
warnIfHydrating(),
|
9904
10059
|
isSuspenseInstanceFallback(
|
9905
|
-
|
10060
|
+
JSCompiler_object_inline_componentStack_2534
|
9906
10061
|
))
|
9907
10062
|
) {
|
9908
|
-
|
9909
|
-
|
9910
|
-
|
9911
|
-
if (
|
9912
|
-
nextPrimaryChildren =
|
9913
|
-
var message =
|
9914
|
-
mode =
|
9915
|
-
var componentStack =
|
10063
|
+
JSCompiler_object_inline_digest_2532 =
|
10064
|
+
JSCompiler_object_inline_componentStack_2534.nextSibling &&
|
10065
|
+
JSCompiler_object_inline_componentStack_2534.nextSibling.dataset;
|
10066
|
+
if (JSCompiler_object_inline_digest_2532) {
|
10067
|
+
nextPrimaryChildren = JSCompiler_object_inline_digest_2532.dgst;
|
10068
|
+
var message = JSCompiler_object_inline_digest_2532.msg;
|
10069
|
+
mode = JSCompiler_object_inline_digest_2532.stck;
|
10070
|
+
var componentStack = JSCompiler_object_inline_digest_2532.cstck;
|
9916
10071
|
}
|
9917
|
-
|
9918
|
-
|
9919
|
-
|
9920
|
-
|
9921
|
-
nextPrimaryChildren =
|
9922
|
-
mode =
|
10072
|
+
JSCompiler_object_inline_message_2531 = message;
|
10073
|
+
JSCompiler_object_inline_digest_2532 = nextPrimaryChildren;
|
10074
|
+
JSCompiler_object_inline_stack_2533 = mode;
|
10075
|
+
JSCompiler_object_inline_componentStack_2534 = componentStack;
|
10076
|
+
nextPrimaryChildren = JSCompiler_object_inline_message_2531;
|
10077
|
+
mode = JSCompiler_object_inline_componentStack_2534;
|
9923
10078
|
nextPrimaryChildren = nextPrimaryChildren
|
9924
10079
|
? Error(nextPrimaryChildren)
|
9925
10080
|
: Error(
|
9926
10081
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9927
10082
|
);
|
9928
10083
|
nextPrimaryChildren.stack =
|
9929
|
-
|
9930
|
-
nextPrimaryChildren.digest =
|
9931
|
-
|
10084
|
+
JSCompiler_object_inline_stack_2533 || "";
|
10085
|
+
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2532;
|
10086
|
+
JSCompiler_object_inline_digest_2532 =
|
9932
10087
|
void 0 === mode ? null : mode;
|
9933
|
-
|
10088
|
+
JSCompiler_object_inline_stack_2533 = {
|
9934
10089
|
value: nextPrimaryChildren,
|
9935
10090
|
source: null,
|
9936
|
-
stack:
|
10091
|
+
stack: JSCompiler_object_inline_digest_2532
|
9937
10092
|
};
|
9938
|
-
"string" === typeof
|
10093
|
+
"string" === typeof JSCompiler_object_inline_digest_2532 &&
|
9939
10094
|
CapturedStacks.set(
|
9940
10095
|
nextPrimaryChildren,
|
9941
|
-
|
10096
|
+
JSCompiler_object_inline_stack_2533
|
9942
10097
|
);
|
9943
|
-
queueHydrationError(
|
10098
|
+
queueHydrationError(JSCompiler_object_inline_stack_2533);
|
9944
10099
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9945
10100
|
current,
|
9946
10101
|
workInProgress,
|
@@ -9954,35 +10109,35 @@
|
|
9954
10109
|
renderLanes,
|
9955
10110
|
!1
|
9956
10111
|
),
|
9957
|
-
(
|
10112
|
+
(JSCompiler_object_inline_digest_2532 =
|
9958
10113
|
0 !== (renderLanes & current.childLanes)),
|
9959
|
-
didReceiveUpdate ||
|
10114
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2532)
|
9960
10115
|
) {
|
9961
|
-
|
10116
|
+
JSCompiler_object_inline_digest_2532 = workInProgressRoot;
|
9962
10117
|
if (
|
9963
|
-
null !==
|
9964
|
-
((
|
9965
|
-
|
10118
|
+
null !== JSCompiler_object_inline_digest_2532 &&
|
10119
|
+
((JSCompiler_object_inline_stack_2533 = getBumpedLaneForHydration(
|
10120
|
+
JSCompiler_object_inline_digest_2532,
|
9966
10121
|
renderLanes
|
9967
10122
|
)),
|
9968
|
-
0 !==
|
9969
|
-
|
10123
|
+
0 !== JSCompiler_object_inline_stack_2533 &&
|
10124
|
+
JSCompiler_object_inline_stack_2533 !== prevState.retryLane)
|
9970
10125
|
)
|
9971
10126
|
throw (
|
9972
|
-
((prevState.retryLane =
|
10127
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2533),
|
9973
10128
|
enqueueConcurrentRenderForLane(
|
9974
10129
|
current,
|
9975
|
-
|
10130
|
+
JSCompiler_object_inline_stack_2533
|
9976
10131
|
),
|
9977
10132
|
scheduleUpdateOnFiber(
|
9978
|
-
|
10133
|
+
JSCompiler_object_inline_digest_2532,
|
9979
10134
|
current,
|
9980
|
-
|
10135
|
+
JSCompiler_object_inline_stack_2533
|
9981
10136
|
),
|
9982
10137
|
SelectiveHydrationException)
|
9983
10138
|
);
|
9984
10139
|
isSuspenseInstancePending(
|
9985
|
-
|
10140
|
+
JSCompiler_object_inline_componentStack_2534
|
9986
10141
|
) || renderDidSuspendDelayIfPossible();
|
9987
10142
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9988
10143
|
current,
|
@@ -9991,14 +10146,14 @@
|
|
9991
10146
|
);
|
9992
10147
|
} else
|
9993
10148
|
isSuspenseInstancePending(
|
9994
|
-
|
10149
|
+
JSCompiler_object_inline_componentStack_2534
|
9995
10150
|
)
|
9996
10151
|
? ((workInProgress.flags |= 192),
|
9997
10152
|
(workInProgress.child = current.child),
|
9998
10153
|
(workInProgress = null))
|
9999
10154
|
: ((current = prevState.treeContext),
|
10000
10155
|
(nextHydratableInstance = getNextHydratable(
|
10001
|
-
|
10156
|
+
JSCompiler_object_inline_componentStack_2534.nextSibling
|
10002
10157
|
)),
|
10003
10158
|
(hydrationParentFiber = workInProgress),
|
10004
10159
|
(isHydrating = !0),
|
@@ -10010,32 +10165,32 @@
|
|
10010
10165
|
restoreSuspendedTreeContext(workInProgress, current),
|
10011
10166
|
(workInProgress = mountSuspensePrimaryChildren(
|
10012
10167
|
workInProgress,
|
10013
|
-
|
10168
|
+
JSCompiler_object_inline_stack_2533.children
|
10014
10169
|
)),
|
10015
10170
|
(workInProgress.flags |= 4096));
|
10016
10171
|
return workInProgress;
|
10017
10172
|
}
|
10018
10173
|
}
|
10019
|
-
if (
|
10174
|
+
if (JSCompiler_object_inline_message_2531)
|
10020
10175
|
return (
|
10021
10176
|
reuseSuspenseHandlerOnStack(workInProgress),
|
10022
|
-
(nextPrimaryChildren =
|
10177
|
+
(nextPrimaryChildren = JSCompiler_object_inline_stack_2533.fallback),
|
10023
10178
|
(mode = workInProgress.mode),
|
10024
10179
|
(componentStack = current.child),
|
10025
|
-
(
|
10180
|
+
(JSCompiler_object_inline_componentStack_2534 =
|
10026
10181
|
componentStack.sibling),
|
10027
|
-
(
|
10182
|
+
(JSCompiler_object_inline_stack_2533 = createWorkInProgress(
|
10028
10183
|
componentStack,
|
10029
10184
|
{
|
10030
10185
|
mode: "hidden",
|
10031
|
-
children:
|
10186
|
+
children: JSCompiler_object_inline_stack_2533.children
|
10032
10187
|
}
|
10033
10188
|
)),
|
10034
|
-
(
|
10189
|
+
(JSCompiler_object_inline_stack_2533.subtreeFlags =
|
10035
10190
|
componentStack.subtreeFlags & 65011712),
|
10036
|
-
null !==
|
10191
|
+
null !== JSCompiler_object_inline_componentStack_2534
|
10037
10192
|
? (nextPrimaryChildren = createWorkInProgress(
|
10038
|
-
|
10193
|
+
JSCompiler_object_inline_componentStack_2534,
|
10039
10194
|
nextPrimaryChildren
|
10040
10195
|
))
|
10041
10196
|
: ((nextPrimaryChildren = createFiberFromFragment(
|
@@ -10046,55 +10201,55 @@
|
|
10046
10201
|
)),
|
10047
10202
|
(nextPrimaryChildren.flags |= 2)),
|
10048
10203
|
(nextPrimaryChildren.return = workInProgress),
|
10049
|
-
(
|
10050
|
-
(
|
10051
|
-
(workInProgress.child =
|
10052
|
-
(
|
10053
|
-
(
|
10054
|
-
(
|
10055
|
-
null ===
|
10056
|
-
? (
|
10057
|
-
: ((
|
10058
|
-
null !==
|
10059
|
-
? ((
|
10060
|
-
|
10061
|
-
|
10062
|
-
|
10063
|
-
|
10064
|
-
|
10065
|
-
|
10066
|
-
|
10067
|
-
|
10068
|
-
: componentStack))
|
10069
|
-
: (componentStack = getSuspendedCache()),
|
10070
|
-
(mode = {
|
10071
|
-
baseLanes: mode.baseLanes | renderLanes,
|
10072
|
-
cachePool: componentStack
|
10204
|
+
(JSCompiler_object_inline_stack_2533.return = workInProgress),
|
10205
|
+
(JSCompiler_object_inline_stack_2533.sibling = nextPrimaryChildren),
|
10206
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2533),
|
10207
|
+
bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2533),
|
10208
|
+
(JSCompiler_object_inline_stack_2533 = workInProgress.child),
|
10209
|
+
(nextPrimaryChildren = current.child.memoizedState),
|
10210
|
+
null === nextPrimaryChildren
|
10211
|
+
? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))
|
10212
|
+
: ((mode = nextPrimaryChildren.cachePool),
|
10213
|
+
null !== mode
|
10214
|
+
? ((componentStack = CacheContext._currentValue),
|
10215
|
+
(mode =
|
10216
|
+
mode.parent !== componentStack
|
10217
|
+
? { parent: componentStack, pool: componentStack }
|
10218
|
+
: mode))
|
10219
|
+
: (mode = getSuspendedCache()),
|
10220
|
+
(nextPrimaryChildren = {
|
10221
|
+
baseLanes: nextPrimaryChildren.baseLanes | renderLanes,
|
10222
|
+
cachePool: mode
|
10073
10223
|
})),
|
10074
|
-
(
|
10075
|
-
|
10076
|
-
|
10077
|
-
|
10078
|
-
|
10079
|
-
|
10224
|
+
(JSCompiler_object_inline_stack_2533.memoizedState =
|
10225
|
+
nextPrimaryChildren),
|
10226
|
+
(JSCompiler_object_inline_stack_2533.childLanes =
|
10227
|
+
getRemainingWorkInPrimaryTree(
|
10228
|
+
current,
|
10229
|
+
JSCompiler_object_inline_digest_2532,
|
10230
|
+
renderLanes
|
10231
|
+
)),
|
10080
10232
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
10081
|
-
|
10233
|
+
bailoutOffscreenComponent(
|
10234
|
+
current.child,
|
10235
|
+
JSCompiler_object_inline_stack_2533
|
10236
|
+
)
|
10082
10237
|
);
|
10083
10238
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
10084
10239
|
renderLanes = current.child;
|
10085
10240
|
current = renderLanes.sibling;
|
10086
10241
|
renderLanes = createWorkInProgress(renderLanes, {
|
10087
10242
|
mode: "visible",
|
10088
|
-
children:
|
10243
|
+
children: JSCompiler_object_inline_stack_2533.children
|
10089
10244
|
});
|
10090
10245
|
renderLanes.return = workInProgress;
|
10091
10246
|
renderLanes.sibling = null;
|
10092
10247
|
null !== current &&
|
10093
|
-
((
|
10094
|
-
null ===
|
10248
|
+
((JSCompiler_object_inline_digest_2532 = workInProgress.deletions),
|
10249
|
+
null === JSCompiler_object_inline_digest_2532
|
10095
10250
|
? ((workInProgress.deletions = [current]),
|
10096
10251
|
(workInProgress.flags |= 16))
|
10097
|
-
:
|
10252
|
+
: JSCompiler_object_inline_digest_2532.push(current));
|
10098
10253
|
workInProgress.child = renderLanes;
|
10099
10254
|
workInProgress.memoizedState = null;
|
10100
10255
|
return renderLanes;
|
@@ -10110,12 +10265,6 @@
|
|
10110
10265
|
function mountWorkInProgressOffscreenFiber(offscreenProps, mode) {
|
10111
10266
|
offscreenProps = createFiber(22, offscreenProps, null, mode);
|
10112
10267
|
offscreenProps.lanes = 0;
|
10113
|
-
offscreenProps.stateNode = {
|
10114
|
-
_visibility: OffscreenVisible,
|
10115
|
-
_pendingMarkers: null,
|
10116
|
-
_retryCache: null,
|
10117
|
-
_transitions: null
|
10118
|
-
};
|
10119
10268
|
return offscreenProps;
|
10120
10269
|
}
|
10121
10270
|
function retrySuspenseComponentWithoutHydrating(
|
@@ -11155,136 +11304,7 @@
|
|
11155
11304
|
renderLanes
|
11156
11305
|
);
|
11157
11306
|
case 31:
|
11158
|
-
|
11159
|
-
nextState = 0 !== (workInProgress.flags & 128);
|
11160
|
-
workInProgress.flags &= -129;
|
11161
|
-
if (null === current)
|
11162
|
-
if (isHydrating) {
|
11163
|
-
if ("hidden" === prevSibling.mode)
|
11164
|
-
mountActivityChildren(workInProgress, prevSibling);
|
11165
|
-
else if (
|
11166
|
-
(pushDehydratedActivitySuspenseHandler(workInProgress),
|
11167
|
-
(renderLanes = nextHydratableInstance)
|
11168
|
-
? ((current = canHydrateHydrationBoundary(
|
11169
|
-
renderLanes,
|
11170
|
-
rootOrSingletonContext
|
11171
|
-
)),
|
11172
|
-
(current =
|
11173
|
-
null !== current && current.data === ACTIVITY_START_DATA
|
11174
|
-
? current
|
11175
|
-
: null),
|
11176
|
-
null !== current &&
|
11177
|
-
((returnFiber = {
|
11178
|
-
dehydrated: current,
|
11179
|
-
treeContext: getSuspendedTreeContext(),
|
11180
|
-
retryLane: 536870912,
|
11181
|
-
hydrationErrors: null
|
11182
|
-
}),
|
11183
|
-
(workInProgress.memoizedState = returnFiber),
|
11184
|
-
(returnFiber =
|
11185
|
-
createFiberFromDehydratedFragment(current)),
|
11186
|
-
(returnFiber.return = workInProgress),
|
11187
|
-
(workInProgress.child = returnFiber),
|
11188
|
-
(hydrationParentFiber = workInProgress),
|
11189
|
-
(nextHydratableInstance = null)))
|
11190
|
-
: (current = null),
|
11191
|
-
null === current)
|
11192
|
-
)
|
11193
|
-
throw (
|
11194
|
-
(warnNonHydratedInstance(workInProgress, renderLanes),
|
11195
|
-
throwOnHydrationMismatch(workInProgress))
|
11196
|
-
);
|
11197
|
-
workInProgress.lanes = 536870912;
|
11198
|
-
workInProgress = null;
|
11199
|
-
} else
|
11200
|
-
workInProgress = mountActivityChildren(
|
11201
|
-
workInProgress,
|
11202
|
-
prevSibling
|
11203
|
-
);
|
11204
|
-
else if (
|
11205
|
-
((returnFiber = current.memoizedState), null !== returnFiber)
|
11206
|
-
)
|
11207
|
-
if (
|
11208
|
-
((prevState = returnFiber.dehydrated),
|
11209
|
-
pushDehydratedActivitySuspenseHandler(workInProgress),
|
11210
|
-
nextState)
|
11211
|
-
)
|
11212
|
-
if (workInProgress.flags & 256)
|
11213
|
-
(workInProgress.flags &= -257),
|
11214
|
-
(workInProgress = retryActivityComponentWithoutHydrating(
|
11215
|
-
current,
|
11216
|
-
workInProgress,
|
11217
|
-
renderLanes
|
11218
|
-
));
|
11219
|
-
else if (null !== workInProgress.memoizedState)
|
11220
|
-
(workInProgress.child = current.child),
|
11221
|
-
(workInProgress.flags |= 128),
|
11222
|
-
(workInProgress = null);
|
11223
|
-
else
|
11224
|
-
throw Error(
|
11225
|
-
"Client rendering an Activity suspended it again. This is a bug in React."
|
11226
|
-
);
|
11227
|
-
else if (
|
11228
|
-
(warnIfHydrating(),
|
11229
|
-
didReceiveUpdate ||
|
11230
|
-
propagateParentContextChanges(
|
11231
|
-
current,
|
11232
|
-
workInProgress,
|
11233
|
-
renderLanes,
|
11234
|
-
!1
|
11235
|
-
),
|
11236
|
-
(nextState = 0 !== (renderLanes & current.childLanes)),
|
11237
|
-
didReceiveUpdate || nextState)
|
11238
|
-
) {
|
11239
|
-
prevSibling = workInProgressRoot;
|
11240
|
-
if (
|
11241
|
-
null !== prevSibling &&
|
11242
|
-
((prevState = getBumpedLaneForHydration(
|
11243
|
-
prevSibling,
|
11244
|
-
renderLanes
|
11245
|
-
)),
|
11246
|
-
0 !== prevState && prevState !== returnFiber.retryLane)
|
11247
|
-
)
|
11248
|
-
throw (
|
11249
|
-
((returnFiber.retryLane = prevState),
|
11250
|
-
enqueueConcurrentRenderForLane(current, prevState),
|
11251
|
-
scheduleUpdateOnFiber(prevSibling, current, prevState),
|
11252
|
-
SelectiveHydrationException)
|
11253
|
-
);
|
11254
|
-
renderDidSuspendDelayIfPossible();
|
11255
|
-
workInProgress = retryActivityComponentWithoutHydrating(
|
11256
|
-
current,
|
11257
|
-
workInProgress,
|
11258
|
-
renderLanes
|
11259
|
-
);
|
11260
|
-
} else
|
11261
|
-
(renderLanes = returnFiber.treeContext),
|
11262
|
-
(nextHydratableInstance = getNextHydratable(
|
11263
|
-
prevState.nextSibling
|
11264
|
-
)),
|
11265
|
-
(hydrationParentFiber = workInProgress),
|
11266
|
-
(isHydrating = !0),
|
11267
|
-
(hydrationErrors = null),
|
11268
|
-
(didSuspendOrErrorDEV = !1),
|
11269
|
-
(hydrationDiffRootDEV = null),
|
11270
|
-
(rootOrSingletonContext = !1),
|
11271
|
-
null !== renderLanes &&
|
11272
|
-
restoreSuspendedTreeContext(workInProgress, renderLanes),
|
11273
|
-
(workInProgress = mountActivityChildren(
|
11274
|
-
workInProgress,
|
11275
|
-
prevSibling
|
11276
|
-
)),
|
11277
|
-
(workInProgress.flags |= 4096);
|
11278
|
-
else
|
11279
|
-
(renderLanes = createWorkInProgress(current.child, {
|
11280
|
-
mode: prevSibling.mode,
|
11281
|
-
children: prevSibling.children
|
11282
|
-
})),
|
11283
|
-
(renderLanes.ref = workInProgress.ref),
|
11284
|
-
(workInProgress.child = renderLanes),
|
11285
|
-
(renderLanes.return = workInProgress),
|
11286
|
-
(workInProgress = renderLanes);
|
11287
|
-
return workInProgress;
|
11307
|
+
return updateActivityComponent(current, workInProgress, renderLanes);
|
11288
11308
|
case 22:
|
11289
11309
|
return updateOffscreenComponent(
|
11290
11310
|
current,
|
@@ -25536,11 +25556,11 @@
|
|
25536
25556
|
};
|
25537
25557
|
(function () {
|
25538
25558
|
var isomorphicReactPackageVersion = React.version;
|
25539
|
-
if ("19.2.0-canary-
|
25559
|
+
if ("19.2.0-canary-ac7820a9-20250811" !== isomorphicReactPackageVersion)
|
25540
25560
|
throw Error(
|
25541
25561
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
25542
25562
|
(isomorphicReactPackageVersion +
|
25543
|
-
"\n - react-dom: 19.2.0-canary-
|
25563
|
+
"\n - react-dom: 19.2.0-canary-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch")
|
25544
25564
|
);
|
25545
25565
|
})();
|
25546
25566
|
("function" === typeof Map &&
|
@@ -25577,10 +25597,10 @@
|
|
25577
25597
|
!(function () {
|
25578
25598
|
var internals = {
|
25579
25599
|
bundleType: 1,
|
25580
|
-
version: "19.2.0-canary-
|
25600
|
+
version: "19.2.0-canary-ac7820a9-20250811",
|
25581
25601
|
rendererPackageName: "react-dom",
|
25582
25602
|
currentDispatcherRef: ReactSharedInternals,
|
25583
|
-
reconcilerVersion: "19.2.0-canary-
|
25603
|
+
reconcilerVersion: "19.2.0-canary-ac7820a9-20250811"
|
25584
25604
|
};
|
25585
25605
|
internals.overrideHookState = overrideHookState;
|
25586
25606
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25718,7 +25738,7 @@
|
|
25718
25738
|
listenToAllSupportedEvents(container);
|
25719
25739
|
return new ReactDOMHydrationRoot(initialChildren);
|
25720
25740
|
};
|
25721
|
-
exports.version = "19.2.0-canary-
|
25741
|
+
exports.version = "19.2.0-canary-ac7820a9-20250811";
|
25722
25742
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25723
25743
|
"function" ===
|
25724
25744
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|