react-dom 19.2.0-canary-8bb7241f-20250926 → 19.2.0-canary-d15d7fd7-20250929
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 +204 -108
- package/cjs/react-dom-client.production.js +153 -105
- package/cjs/react-dom-profiling.development.js +204 -108
- package/cjs/react-dom-profiling.profiling.js +153 -105
- package/cjs/react-dom-server-legacy.browser.development.js +9 -1
- package/cjs/react-dom-server-legacy.browser.production.js +7 -1
- package/cjs/react-dom-server-legacy.node.development.js +9 -1
- package/cjs/react-dom-server-legacy.node.production.js +9 -1
- package/cjs/react-dom-server.browser.development.js +11 -3
- package/cjs/react-dom-server.browser.production.js +9 -3
- package/cjs/react-dom-server.bun.development.js +11 -3
- package/cjs/react-dom-server.bun.production.js +11 -3
- package/cjs/react-dom-server.edge.development.js +11 -3
- package/cjs/react-dom-server.edge.production.js +11 -3
- package/cjs/react-dom-server.node.development.js +11 -3
- package/cjs/react-dom-server.node.production.js +11 -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
|
@@ -7816,6 +7816,43 @@
|
|
|
7816
7816
|
? mountEffectImpl(276826112, Passive, create, deps)
|
|
7817
7817
|
: mountEffectImpl(8390656, Passive, create, deps);
|
|
7818
7818
|
}
|
|
7819
|
+
function useEffectEventImpl(payload) {
|
|
7820
|
+
currentlyRenderingFiber.flags |= 4;
|
|
7821
|
+
var componentUpdateQueue = currentlyRenderingFiber.updateQueue;
|
|
7822
|
+
if (null === componentUpdateQueue)
|
|
7823
|
+
(componentUpdateQueue = createFunctionComponentUpdateQueue()),
|
|
7824
|
+
(currentlyRenderingFiber.updateQueue = componentUpdateQueue),
|
|
7825
|
+
(componentUpdateQueue.events = [payload]);
|
|
7826
|
+
else {
|
|
7827
|
+
var events = componentUpdateQueue.events;
|
|
7828
|
+
null === events
|
|
7829
|
+
? (componentUpdateQueue.events = [payload])
|
|
7830
|
+
: events.push(payload);
|
|
7831
|
+
}
|
|
7832
|
+
}
|
|
7833
|
+
function mountEvent(callback) {
|
|
7834
|
+
var hook = mountWorkInProgressHook(),
|
|
7835
|
+
ref = { impl: callback };
|
|
7836
|
+
hook.memoizedState = ref;
|
|
7837
|
+
return function () {
|
|
7838
|
+
if ((executionContext & RenderContext) !== NoContext)
|
|
7839
|
+
throw Error(
|
|
7840
|
+
"A function wrapped in useEffectEvent can't be called during rendering."
|
|
7841
|
+
);
|
|
7842
|
+
return ref.impl.apply(void 0, arguments);
|
|
7843
|
+
};
|
|
7844
|
+
}
|
|
7845
|
+
function updateEvent(callback) {
|
|
7846
|
+
var ref = updateWorkInProgressHook().memoizedState;
|
|
7847
|
+
useEffectEventImpl({ ref: ref, nextImpl: callback });
|
|
7848
|
+
return function () {
|
|
7849
|
+
if ((executionContext & RenderContext) !== NoContext)
|
|
7850
|
+
throw Error(
|
|
7851
|
+
"A function wrapped in useEffectEvent can't be called during rendering."
|
|
7852
|
+
);
|
|
7853
|
+
return ref.impl.apply(void 0, arguments);
|
|
7854
|
+
};
|
|
7855
|
+
}
|
|
7819
7856
|
function mountLayoutEffect(create, deps) {
|
|
7820
7857
|
var fiberFlags = 4194308;
|
|
7821
7858
|
(currentlyRenderingFiber.mode & StrictEffectsMode) !== NoMode &&
|
|
@@ -9932,24 +9969,24 @@
|
|
|
9932
9969
|
return current;
|
|
9933
9970
|
}
|
|
9934
9971
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
9935
|
-
var
|
|
9936
|
-
var
|
|
9972
|
+
var JSCompiler_object_inline_digest_2528;
|
|
9973
|
+
var JSCompiler_object_inline_stack_2529 = workInProgress.pendingProps;
|
|
9937
9974
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
|
9938
|
-
var
|
|
9975
|
+
var JSCompiler_object_inline_message_2527 = !1;
|
|
9939
9976
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
|
9940
|
-
(
|
|
9941
|
-
(
|
|
9977
|
+
(JSCompiler_object_inline_digest_2528 = didSuspend) ||
|
|
9978
|
+
(JSCompiler_object_inline_digest_2528 =
|
|
9942
9979
|
null !== current && null === current.memoizedState
|
|
9943
9980
|
? !1
|
|
9944
9981
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
|
9945
|
-
|
|
9946
|
-
((
|
|
9982
|
+
JSCompiler_object_inline_digest_2528 &&
|
|
9983
|
+
((JSCompiler_object_inline_message_2527 = !0),
|
|
9947
9984
|
(workInProgress.flags &= -129));
|
|
9948
|
-
|
|
9985
|
+
JSCompiler_object_inline_digest_2528 = 0 !== (workInProgress.flags & 32);
|
|
9949
9986
|
workInProgress.flags &= -33;
|
|
9950
9987
|
if (null === current) {
|
|
9951
9988
|
if (isHydrating) {
|
|
9952
|
-
|
|
9989
|
+
JSCompiler_object_inline_message_2527
|
|
9953
9990
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
|
9954
9991
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
|
9955
9992
|
(current = nextHydratableInstance)
|
|
@@ -9962,18 +9999,18 @@
|
|
|
9962
9999
|
? renderLanes
|
|
9963
10000
|
: null),
|
|
9964
10001
|
null !== renderLanes &&
|
|
9965
|
-
((
|
|
10002
|
+
((JSCompiler_object_inline_digest_2528 = {
|
|
9966
10003
|
dehydrated: renderLanes,
|
|
9967
10004
|
treeContext: getSuspendedTreeContext(),
|
|
9968
10005
|
retryLane: 536870912,
|
|
9969
10006
|
hydrationErrors: null
|
|
9970
10007
|
}),
|
|
9971
10008
|
(workInProgress.memoizedState =
|
|
9972
|
-
|
|
9973
|
-
(
|
|
10009
|
+
JSCompiler_object_inline_digest_2528),
|
|
10010
|
+
(JSCompiler_object_inline_digest_2528 =
|
|
9974
10011
|
createFiberFromDehydratedFragment(renderLanes)),
|
|
9975
|
-
(
|
|
9976
|
-
(workInProgress.child =
|
|
10012
|
+
(JSCompiler_object_inline_digest_2528.return = workInProgress),
|
|
10013
|
+
(workInProgress.child = JSCompiler_object_inline_digest_2528),
|
|
9977
10014
|
(hydrationParentFiber = workInProgress),
|
|
9978
10015
|
(nextHydratableInstance = null)))
|
|
9979
10016
|
: (renderLanes = null);
|
|
@@ -9987,39 +10024,39 @@
|
|
|
9987
10024
|
: (workInProgress.lanes = 536870912);
|
|
9988
10025
|
return null;
|
|
9989
10026
|
}
|
|
9990
|
-
var nextPrimaryChildren =
|
|
9991
|
-
|
|
9992
|
-
|
|
9993
|
-
if (
|
|
10027
|
+
var nextPrimaryChildren = JSCompiler_object_inline_stack_2529.children;
|
|
10028
|
+
JSCompiler_object_inline_stack_2529 =
|
|
10029
|
+
JSCompiler_object_inline_stack_2529.fallback;
|
|
10030
|
+
if (JSCompiler_object_inline_message_2527) {
|
|
9994
10031
|
reuseSuspenseHandlerOnStack(workInProgress);
|
|
9995
10032
|
var mode = workInProgress.mode;
|
|
9996
10033
|
nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
|
|
9997
10034
|
{ mode: "hidden", children: nextPrimaryChildren },
|
|
9998
10035
|
mode
|
|
9999
10036
|
);
|
|
10000
|
-
|
|
10001
|
-
|
|
10037
|
+
JSCompiler_object_inline_stack_2529 = createFiberFromFragment(
|
|
10038
|
+
JSCompiler_object_inline_stack_2529,
|
|
10002
10039
|
mode,
|
|
10003
10040
|
renderLanes,
|
|
10004
10041
|
null
|
|
10005
10042
|
);
|
|
10006
10043
|
nextPrimaryChildren.return = workInProgress;
|
|
10007
|
-
|
|
10008
|
-
nextPrimaryChildren.sibling =
|
|
10044
|
+
JSCompiler_object_inline_stack_2529.return = workInProgress;
|
|
10045
|
+
nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2529;
|
|
10009
10046
|
workInProgress.child = nextPrimaryChildren;
|
|
10010
|
-
|
|
10011
|
-
|
|
10047
|
+
JSCompiler_object_inline_stack_2529 = workInProgress.child;
|
|
10048
|
+
JSCompiler_object_inline_stack_2529.memoizedState =
|
|
10012
10049
|
mountSuspenseOffscreenState(renderLanes);
|
|
10013
|
-
|
|
10050
|
+
JSCompiler_object_inline_stack_2529.childLanes =
|
|
10014
10051
|
getRemainingWorkInPrimaryTree(
|
|
10015
10052
|
current,
|
|
10016
|
-
|
|
10053
|
+
JSCompiler_object_inline_digest_2528,
|
|
10017
10054
|
renderLanes
|
|
10018
10055
|
);
|
|
10019
10056
|
workInProgress.memoizedState = SUSPENDED_MARKER;
|
|
10020
10057
|
return bailoutOffscreenComponent(
|
|
10021
10058
|
null,
|
|
10022
|
-
|
|
10059
|
+
JSCompiler_object_inline_stack_2529
|
|
10023
10060
|
);
|
|
10024
10061
|
}
|
|
10025
10062
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
|
@@ -10030,8 +10067,8 @@
|
|
|
10030
10067
|
}
|
|
10031
10068
|
var prevState = current.memoizedState;
|
|
10032
10069
|
if (null !== prevState) {
|
|
10033
|
-
var
|
|
10034
|
-
if (null !==
|
|
10070
|
+
var JSCompiler_object_inline_componentStack_2530 = prevState.dehydrated;
|
|
10071
|
+
if (null !== JSCompiler_object_inline_componentStack_2530) {
|
|
10035
10072
|
if (didSuspend)
|
|
10036
10073
|
workInProgress.flags & 256
|
|
10037
10074
|
? (pushPrimaryTreeSuspenseHandler(workInProgress),
|
|
@@ -10048,13 +10085,13 @@
|
|
|
10048
10085
|
(workInProgress = null))
|
|
10049
10086
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
|
10050
10087
|
(nextPrimaryChildren =
|
|
10051
|
-
|
|
10088
|
+
JSCompiler_object_inline_stack_2529.fallback),
|
|
10052
10089
|
(mode = workInProgress.mode),
|
|
10053
|
-
(
|
|
10090
|
+
(JSCompiler_object_inline_stack_2529 =
|
|
10054
10091
|
mountWorkInProgressOffscreenFiber(
|
|
10055
10092
|
{
|
|
10056
10093
|
mode: "visible",
|
|
10057
|
-
children:
|
|
10094
|
+
children: JSCompiler_object_inline_stack_2529.children
|
|
10058
10095
|
},
|
|
10059
10096
|
mode
|
|
10060
10097
|
)),
|
|
@@ -10065,74 +10102,74 @@
|
|
|
10065
10102
|
null
|
|
10066
10103
|
)),
|
|
10067
10104
|
(nextPrimaryChildren.flags |= 2),
|
|
10068
|
-
(
|
|
10105
|
+
(JSCompiler_object_inline_stack_2529.return = workInProgress),
|
|
10069
10106
|
(nextPrimaryChildren.return = workInProgress),
|
|
10070
|
-
(
|
|
10107
|
+
(JSCompiler_object_inline_stack_2529.sibling =
|
|
10071
10108
|
nextPrimaryChildren),
|
|
10072
|
-
(workInProgress.child =
|
|
10109
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2529),
|
|
10073
10110
|
reconcileChildFibers(
|
|
10074
10111
|
workInProgress,
|
|
10075
10112
|
current.child,
|
|
10076
10113
|
null,
|
|
10077
10114
|
renderLanes
|
|
10078
10115
|
),
|
|
10079
|
-
(
|
|
10080
|
-
(
|
|
10116
|
+
(JSCompiler_object_inline_stack_2529 = workInProgress.child),
|
|
10117
|
+
(JSCompiler_object_inline_stack_2529.memoizedState =
|
|
10081
10118
|
mountSuspenseOffscreenState(renderLanes)),
|
|
10082
|
-
(
|
|
10119
|
+
(JSCompiler_object_inline_stack_2529.childLanes =
|
|
10083
10120
|
getRemainingWorkInPrimaryTree(
|
|
10084
10121
|
current,
|
|
10085
|
-
|
|
10122
|
+
JSCompiler_object_inline_digest_2528,
|
|
10086
10123
|
renderLanes
|
|
10087
10124
|
)),
|
|
10088
10125
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
10089
10126
|
(workInProgress = bailoutOffscreenComponent(
|
|
10090
10127
|
null,
|
|
10091
|
-
|
|
10128
|
+
JSCompiler_object_inline_stack_2529
|
|
10092
10129
|
)));
|
|
10093
10130
|
else if (
|
|
10094
10131
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
|
10095
10132
|
warnIfHydrating(),
|
|
10096
10133
|
isSuspenseInstanceFallback(
|
|
10097
|
-
|
|
10134
|
+
JSCompiler_object_inline_componentStack_2530
|
|
10098
10135
|
))
|
|
10099
10136
|
) {
|
|
10100
|
-
|
|
10101
|
-
|
|
10102
|
-
|
|
10103
|
-
if (
|
|
10104
|
-
nextPrimaryChildren =
|
|
10105
|
-
var message =
|
|
10106
|
-
mode =
|
|
10107
|
-
var componentStack =
|
|
10137
|
+
JSCompiler_object_inline_digest_2528 =
|
|
10138
|
+
JSCompiler_object_inline_componentStack_2530.nextSibling &&
|
|
10139
|
+
JSCompiler_object_inline_componentStack_2530.nextSibling.dataset;
|
|
10140
|
+
if (JSCompiler_object_inline_digest_2528) {
|
|
10141
|
+
nextPrimaryChildren = JSCompiler_object_inline_digest_2528.dgst;
|
|
10142
|
+
var message = JSCompiler_object_inline_digest_2528.msg;
|
|
10143
|
+
mode = JSCompiler_object_inline_digest_2528.stck;
|
|
10144
|
+
var componentStack = JSCompiler_object_inline_digest_2528.cstck;
|
|
10108
10145
|
}
|
|
10109
|
-
|
|
10110
|
-
|
|
10111
|
-
|
|
10112
|
-
|
|
10113
|
-
nextPrimaryChildren =
|
|
10114
|
-
mode =
|
|
10146
|
+
JSCompiler_object_inline_message_2527 = message;
|
|
10147
|
+
JSCompiler_object_inline_digest_2528 = nextPrimaryChildren;
|
|
10148
|
+
JSCompiler_object_inline_stack_2529 = mode;
|
|
10149
|
+
JSCompiler_object_inline_componentStack_2530 = componentStack;
|
|
10150
|
+
nextPrimaryChildren = JSCompiler_object_inline_message_2527;
|
|
10151
|
+
mode = JSCompiler_object_inline_componentStack_2530;
|
|
10115
10152
|
nextPrimaryChildren = nextPrimaryChildren
|
|
10116
10153
|
? Error(nextPrimaryChildren)
|
|
10117
10154
|
: Error(
|
|
10118
10155
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
|
10119
10156
|
);
|
|
10120
10157
|
nextPrimaryChildren.stack =
|
|
10121
|
-
|
|
10122
|
-
nextPrimaryChildren.digest =
|
|
10123
|
-
|
|
10158
|
+
JSCompiler_object_inline_stack_2529 || "";
|
|
10159
|
+
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2528;
|
|
10160
|
+
JSCompiler_object_inline_digest_2528 =
|
|
10124
10161
|
void 0 === mode ? null : mode;
|
|
10125
|
-
|
|
10162
|
+
JSCompiler_object_inline_stack_2529 = {
|
|
10126
10163
|
value: nextPrimaryChildren,
|
|
10127
10164
|
source: null,
|
|
10128
|
-
stack:
|
|
10165
|
+
stack: JSCompiler_object_inline_digest_2528
|
|
10129
10166
|
};
|
|
10130
|
-
"string" === typeof
|
|
10167
|
+
"string" === typeof JSCompiler_object_inline_digest_2528 &&
|
|
10131
10168
|
CapturedStacks.set(
|
|
10132
10169
|
nextPrimaryChildren,
|
|
10133
|
-
|
|
10170
|
+
JSCompiler_object_inline_stack_2529
|
|
10134
10171
|
);
|
|
10135
|
-
queueHydrationError(
|
|
10172
|
+
queueHydrationError(JSCompiler_object_inline_stack_2529);
|
|
10136
10173
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
|
10137
10174
|
current,
|
|
10138
10175
|
workInProgress,
|
|
@@ -10146,35 +10183,35 @@
|
|
|
10146
10183
|
renderLanes,
|
|
10147
10184
|
!1
|
|
10148
10185
|
),
|
|
10149
|
-
(
|
|
10186
|
+
(JSCompiler_object_inline_digest_2528 =
|
|
10150
10187
|
0 !== (renderLanes & current.childLanes)),
|
|
10151
|
-
didReceiveUpdate ||
|
|
10188
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2528)
|
|
10152
10189
|
) {
|
|
10153
|
-
|
|
10190
|
+
JSCompiler_object_inline_digest_2528 = workInProgressRoot;
|
|
10154
10191
|
if (
|
|
10155
|
-
null !==
|
|
10156
|
-
((
|
|
10157
|
-
|
|
10192
|
+
null !== JSCompiler_object_inline_digest_2528 &&
|
|
10193
|
+
((JSCompiler_object_inline_stack_2529 = getBumpedLaneForHydration(
|
|
10194
|
+
JSCompiler_object_inline_digest_2528,
|
|
10158
10195
|
renderLanes
|
|
10159
10196
|
)),
|
|
10160
|
-
0 !==
|
|
10161
|
-
|
|
10197
|
+
0 !== JSCompiler_object_inline_stack_2529 &&
|
|
10198
|
+
JSCompiler_object_inline_stack_2529 !== prevState.retryLane)
|
|
10162
10199
|
)
|
|
10163
10200
|
throw (
|
|
10164
|
-
((prevState.retryLane =
|
|
10201
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2529),
|
|
10165
10202
|
enqueueConcurrentRenderForLane(
|
|
10166
10203
|
current,
|
|
10167
|
-
|
|
10204
|
+
JSCompiler_object_inline_stack_2529
|
|
10168
10205
|
),
|
|
10169
10206
|
scheduleUpdateOnFiber(
|
|
10170
|
-
|
|
10207
|
+
JSCompiler_object_inline_digest_2528,
|
|
10171
10208
|
current,
|
|
10172
|
-
|
|
10209
|
+
JSCompiler_object_inline_stack_2529
|
|
10173
10210
|
),
|
|
10174
10211
|
SelectiveHydrationException)
|
|
10175
10212
|
);
|
|
10176
10213
|
isSuspenseInstancePending(
|
|
10177
|
-
|
|
10214
|
+
JSCompiler_object_inline_componentStack_2530
|
|
10178
10215
|
) || renderDidSuspendDelayIfPossible();
|
|
10179
10216
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
|
10180
10217
|
current,
|
|
@@ -10183,14 +10220,14 @@
|
|
|
10183
10220
|
);
|
|
10184
10221
|
} else
|
|
10185
10222
|
isSuspenseInstancePending(
|
|
10186
|
-
|
|
10223
|
+
JSCompiler_object_inline_componentStack_2530
|
|
10187
10224
|
)
|
|
10188
10225
|
? ((workInProgress.flags |= 192),
|
|
10189
10226
|
(workInProgress.child = current.child),
|
|
10190
10227
|
(workInProgress = null))
|
|
10191
10228
|
: ((current = prevState.treeContext),
|
|
10192
10229
|
(nextHydratableInstance = getNextHydratable(
|
|
10193
|
-
|
|
10230
|
+
JSCompiler_object_inline_componentStack_2530.nextSibling
|
|
10194
10231
|
)),
|
|
10195
10232
|
(hydrationParentFiber = workInProgress),
|
|
10196
10233
|
(isHydrating = !0),
|
|
@@ -10202,32 +10239,32 @@
|
|
|
10202
10239
|
restoreSuspendedTreeContext(workInProgress, current),
|
|
10203
10240
|
(workInProgress = mountSuspensePrimaryChildren(
|
|
10204
10241
|
workInProgress,
|
|
10205
|
-
|
|
10242
|
+
JSCompiler_object_inline_stack_2529.children
|
|
10206
10243
|
)),
|
|
10207
10244
|
(workInProgress.flags |= 4096));
|
|
10208
10245
|
return workInProgress;
|
|
10209
10246
|
}
|
|
10210
10247
|
}
|
|
10211
|
-
if (
|
|
10248
|
+
if (JSCompiler_object_inline_message_2527)
|
|
10212
10249
|
return (
|
|
10213
10250
|
reuseSuspenseHandlerOnStack(workInProgress),
|
|
10214
|
-
(nextPrimaryChildren =
|
|
10251
|
+
(nextPrimaryChildren = JSCompiler_object_inline_stack_2529.fallback),
|
|
10215
10252
|
(mode = workInProgress.mode),
|
|
10216
10253
|
(componentStack = current.child),
|
|
10217
|
-
(
|
|
10254
|
+
(JSCompiler_object_inline_componentStack_2530 =
|
|
10218
10255
|
componentStack.sibling),
|
|
10219
|
-
(
|
|
10256
|
+
(JSCompiler_object_inline_stack_2529 = createWorkInProgress(
|
|
10220
10257
|
componentStack,
|
|
10221
10258
|
{
|
|
10222
10259
|
mode: "hidden",
|
|
10223
|
-
children:
|
|
10260
|
+
children: JSCompiler_object_inline_stack_2529.children
|
|
10224
10261
|
}
|
|
10225
10262
|
)),
|
|
10226
|
-
(
|
|
10263
|
+
(JSCompiler_object_inline_stack_2529.subtreeFlags =
|
|
10227
10264
|
componentStack.subtreeFlags & 65011712),
|
|
10228
|
-
null !==
|
|
10265
|
+
null !== JSCompiler_object_inline_componentStack_2530
|
|
10229
10266
|
? (nextPrimaryChildren = createWorkInProgress(
|
|
10230
|
-
|
|
10267
|
+
JSCompiler_object_inline_componentStack_2530,
|
|
10231
10268
|
nextPrimaryChildren
|
|
10232
10269
|
))
|
|
10233
10270
|
: ((nextPrimaryChildren = createFiberFromFragment(
|
|
@@ -10238,11 +10275,11 @@
|
|
|
10238
10275
|
)),
|
|
10239
10276
|
(nextPrimaryChildren.flags |= 2)),
|
|
10240
10277
|
(nextPrimaryChildren.return = workInProgress),
|
|
10241
|
-
(
|
|
10242
|
-
(
|
|
10243
|
-
(workInProgress.child =
|
|
10244
|
-
bailoutOffscreenComponent(null,
|
|
10245
|
-
(
|
|
10278
|
+
(JSCompiler_object_inline_stack_2529.return = workInProgress),
|
|
10279
|
+
(JSCompiler_object_inline_stack_2529.sibling = nextPrimaryChildren),
|
|
10280
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2529),
|
|
10281
|
+
bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2529),
|
|
10282
|
+
(JSCompiler_object_inline_stack_2529 = workInProgress.child),
|
|
10246
10283
|
(nextPrimaryChildren = current.child.memoizedState),
|
|
10247
10284
|
null === nextPrimaryChildren
|
|
10248
10285
|
? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))
|
|
@@ -10258,18 +10295,18 @@
|
|
|
10258
10295
|
baseLanes: nextPrimaryChildren.baseLanes | renderLanes,
|
|
10259
10296
|
cachePool: mode
|
|
10260
10297
|
})),
|
|
10261
|
-
(
|
|
10298
|
+
(JSCompiler_object_inline_stack_2529.memoizedState =
|
|
10262
10299
|
nextPrimaryChildren),
|
|
10263
|
-
(
|
|
10300
|
+
(JSCompiler_object_inline_stack_2529.childLanes =
|
|
10264
10301
|
getRemainingWorkInPrimaryTree(
|
|
10265
10302
|
current,
|
|
10266
|
-
|
|
10303
|
+
JSCompiler_object_inline_digest_2528,
|
|
10267
10304
|
renderLanes
|
|
10268
10305
|
)),
|
|
10269
10306
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
10270
10307
|
bailoutOffscreenComponent(
|
|
10271
10308
|
current.child,
|
|
10272
|
-
|
|
10309
|
+
JSCompiler_object_inline_stack_2529
|
|
10273
10310
|
)
|
|
10274
10311
|
);
|
|
10275
10312
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
|
@@ -10277,16 +10314,16 @@
|
|
|
10277
10314
|
current = renderLanes.sibling;
|
|
10278
10315
|
renderLanes = createWorkInProgress(renderLanes, {
|
|
10279
10316
|
mode: "visible",
|
|
10280
|
-
children:
|
|
10317
|
+
children: JSCompiler_object_inline_stack_2529.children
|
|
10281
10318
|
});
|
|
10282
10319
|
renderLanes.return = workInProgress;
|
|
10283
10320
|
renderLanes.sibling = null;
|
|
10284
10321
|
null !== current &&
|
|
10285
|
-
((
|
|
10286
|
-
null ===
|
|
10322
|
+
((JSCompiler_object_inline_digest_2528 = workInProgress.deletions),
|
|
10323
|
+
null === JSCompiler_object_inline_digest_2528
|
|
10287
10324
|
? ((workInProgress.deletions = [current]),
|
|
10288
10325
|
(workInProgress.flags |= 16))
|
|
10289
|
-
:
|
|
10326
|
+
: JSCompiler_object_inline_digest_2528.push(current));
|
|
10290
10327
|
workInProgress.child = renderLanes;
|
|
10291
10328
|
workInProgress.memoizedState = null;
|
|
10292
10329
|
return renderLanes;
|
|
@@ -13014,7 +13051,7 @@
|
|
|
13014
13051
|
if (
|
|
13015
13052
|
((firstChild = nextEffect),
|
|
13016
13053
|
(root = firstChild.child),
|
|
13017
|
-
0 !== (firstChild.subtreeFlags &
|
|
13054
|
+
0 !== (firstChild.subtreeFlags & 1028) && null !== root)
|
|
13018
13055
|
)
|
|
13019
13056
|
(root.return = firstChild), (nextEffect = root);
|
|
13020
13057
|
else
|
|
@@ -13024,6 +13061,19 @@
|
|
|
13024
13061
|
anchorOffset = root.flags;
|
|
13025
13062
|
switch (root.tag) {
|
|
13026
13063
|
case 0:
|
|
13064
|
+
if (
|
|
13065
|
+
0 !== (anchorOffset & 4) &&
|
|
13066
|
+
((root = root.updateQueue),
|
|
13067
|
+
(root = null !== root ? root.events : null),
|
|
13068
|
+
null !== root)
|
|
13069
|
+
)
|
|
13070
|
+
for (
|
|
13071
|
+
JSCompiler_temp = 0;
|
|
13072
|
+
JSCompiler_temp < root.length;
|
|
13073
|
+
JSCompiler_temp++
|
|
13074
|
+
)
|
|
13075
|
+
(anchorOffset = root[JSCompiler_temp]),
|
|
13076
|
+
(anchorOffset.ref.impl = anchorOffset.nextImpl);
|
|
13027
13077
|
break;
|
|
13028
13078
|
case 11:
|
|
13029
13079
|
case 15:
|
|
@@ -24038,8 +24088,9 @@
|
|
|
24038
24088
|
useOptimistic: throwInvalidHookError,
|
|
24039
24089
|
useMemoCache: throwInvalidHookError,
|
|
24040
24090
|
useCacheRefresh: throwInvalidHookError
|
|
24041
|
-
}
|
|
24042
|
-
|
|
24091
|
+
};
|
|
24092
|
+
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
|
|
24093
|
+
var HooksDispatcherOnMountInDEV = null,
|
|
24043
24094
|
HooksDispatcherOnMountWithHookTypesInDEV = null,
|
|
24044
24095
|
HooksDispatcherOnUpdateInDEV = null,
|
|
24045
24096
|
HooksDispatcherOnRerenderInDEV = null,
|
|
@@ -24179,6 +24230,11 @@
|
|
|
24179
24230
|
currentHookNameInDev = "useCacheRefresh";
|
|
24180
24231
|
mountHookTypesDev();
|
|
24181
24232
|
return mountRefresh();
|
|
24233
|
+
},
|
|
24234
|
+
useEffectEvent: function (callback) {
|
|
24235
|
+
currentHookNameInDev = "useEffectEvent";
|
|
24236
|
+
mountHookTypesDev();
|
|
24237
|
+
return mountEvent(callback);
|
|
24182
24238
|
}
|
|
24183
24239
|
};
|
|
24184
24240
|
HooksDispatcherOnMountWithHookTypesInDEV = {
|
|
@@ -24308,6 +24364,11 @@
|
|
|
24308
24364
|
currentHookNameInDev = "useCacheRefresh";
|
|
24309
24365
|
updateHookTypesDev();
|
|
24310
24366
|
return mountRefresh();
|
|
24367
|
+
},
|
|
24368
|
+
useEffectEvent: function (callback) {
|
|
24369
|
+
currentHookNameInDev = "useEffectEvent";
|
|
24370
|
+
updateHookTypesDev();
|
|
24371
|
+
return mountEvent(callback);
|
|
24311
24372
|
}
|
|
24312
24373
|
};
|
|
24313
24374
|
HooksDispatcherOnUpdateInDEV = {
|
|
@@ -24437,6 +24498,11 @@
|
|
|
24437
24498
|
currentHookNameInDev = "useCacheRefresh";
|
|
24438
24499
|
updateHookTypesDev();
|
|
24439
24500
|
return updateWorkInProgressHook().memoizedState;
|
|
24501
|
+
},
|
|
24502
|
+
useEffectEvent: function (callback) {
|
|
24503
|
+
currentHookNameInDev = "useEffectEvent";
|
|
24504
|
+
updateHookTypesDev();
|
|
24505
|
+
return updateEvent(callback);
|
|
24440
24506
|
}
|
|
24441
24507
|
};
|
|
24442
24508
|
HooksDispatcherOnRerenderInDEV = {
|
|
@@ -24566,6 +24632,11 @@
|
|
|
24566
24632
|
currentHookNameInDev = "useCacheRefresh";
|
|
24567
24633
|
updateHookTypesDev();
|
|
24568
24634
|
return updateWorkInProgressHook().memoizedState;
|
|
24635
|
+
},
|
|
24636
|
+
useEffectEvent: function (callback) {
|
|
24637
|
+
currentHookNameInDev = "useEffectEvent";
|
|
24638
|
+
updateHookTypesDev();
|
|
24639
|
+
return updateEvent(callback);
|
|
24569
24640
|
}
|
|
24570
24641
|
};
|
|
24571
24642
|
InvalidNestedHooksDispatcherOnMountInDEV = {
|
|
@@ -24719,6 +24790,12 @@
|
|
|
24719
24790
|
currentHookNameInDev = "useCacheRefresh";
|
|
24720
24791
|
mountHookTypesDev();
|
|
24721
24792
|
return mountRefresh();
|
|
24793
|
+
},
|
|
24794
|
+
useEffectEvent: function (callback) {
|
|
24795
|
+
currentHookNameInDev = "useEffectEvent";
|
|
24796
|
+
warnInvalidHookAccess();
|
|
24797
|
+
mountHookTypesDev();
|
|
24798
|
+
return mountEvent(callback);
|
|
24722
24799
|
}
|
|
24723
24800
|
};
|
|
24724
24801
|
InvalidNestedHooksDispatcherOnUpdateInDEV = {
|
|
@@ -24872,6 +24949,12 @@
|
|
|
24872
24949
|
currentHookNameInDev = "useCacheRefresh";
|
|
24873
24950
|
updateHookTypesDev();
|
|
24874
24951
|
return updateWorkInProgressHook().memoizedState;
|
|
24952
|
+
},
|
|
24953
|
+
useEffectEvent: function (callback) {
|
|
24954
|
+
currentHookNameInDev = "useEffectEvent";
|
|
24955
|
+
warnInvalidHookAccess();
|
|
24956
|
+
updateHookTypesDev();
|
|
24957
|
+
return updateEvent(callback);
|
|
24875
24958
|
}
|
|
24876
24959
|
};
|
|
24877
24960
|
InvalidNestedHooksDispatcherOnRerenderInDEV = {
|
|
@@ -25025,6 +25108,12 @@
|
|
|
25025
25108
|
currentHookNameInDev = "useCacheRefresh";
|
|
25026
25109
|
updateHookTypesDev();
|
|
25027
25110
|
return updateWorkInProgressHook().memoizedState;
|
|
25111
|
+
},
|
|
25112
|
+
useEffectEvent: function (callback) {
|
|
25113
|
+
currentHookNameInDev = "useEffectEvent";
|
|
25114
|
+
warnInvalidHookAccess();
|
|
25115
|
+
updateHookTypesDev();
|
|
25116
|
+
return updateEvent(callback);
|
|
25028
25117
|
}
|
|
25029
25118
|
};
|
|
25030
25119
|
var fakeInternalInstance = {};
|
|
@@ -25620,6 +25709,7 @@
|
|
|
25620
25709
|
overridePropsDeletePath = null,
|
|
25621
25710
|
overridePropsRenamePath = null,
|
|
25622
25711
|
scheduleUpdate = null,
|
|
25712
|
+
scheduleRetry = null,
|
|
25623
25713
|
setErrorHandler = null,
|
|
25624
25714
|
setSuspenseHandler = null;
|
|
25625
25715
|
overrideHookState = function (fiber, id, path, value) {
|
|
@@ -25678,6 +25768,11 @@
|
|
|
25678
25768
|
var root = enqueueConcurrentRenderForLane(fiber, 2);
|
|
25679
25769
|
null !== root && scheduleUpdateOnFiber(root, fiber, 2);
|
|
25680
25770
|
};
|
|
25771
|
+
scheduleRetry = function (fiber) {
|
|
25772
|
+
var lane = claimNextRetryLane(),
|
|
25773
|
+
root = enqueueConcurrentRenderForLane(fiber, lane);
|
|
25774
|
+
null !== root && scheduleUpdateOnFiber(root, fiber, lane);
|
|
25775
|
+
};
|
|
25681
25776
|
setErrorHandler = function (newShouldErrorImpl) {
|
|
25682
25777
|
shouldErrorImpl = newShouldErrorImpl;
|
|
25683
25778
|
};
|
|
@@ -25759,11 +25854,11 @@
|
|
|
25759
25854
|
};
|
|
25760
25855
|
(function () {
|
|
25761
25856
|
var isomorphicReactPackageVersion = React.version;
|
|
25762
|
-
if ("19.2.0-canary-
|
|
25857
|
+
if ("19.2.0-canary-d15d7fd7-20250929" !== isomorphicReactPackageVersion)
|
|
25763
25858
|
throw Error(
|
|
25764
25859
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
25765
25860
|
(isomorphicReactPackageVersion +
|
|
25766
|
-
"\n - react-dom: 19.2.0-canary-
|
|
25861
|
+
"\n - react-dom: 19.2.0-canary-d15d7fd7-20250929\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
25767
25862
|
);
|
|
25768
25863
|
})();
|
|
25769
25864
|
("function" === typeof Map &&
|
|
@@ -25800,10 +25895,10 @@
|
|
|
25800
25895
|
!(function () {
|
|
25801
25896
|
var internals = {
|
|
25802
25897
|
bundleType: 1,
|
|
25803
|
-
version: "19.2.0-canary-
|
|
25898
|
+
version: "19.2.0-canary-d15d7fd7-20250929",
|
|
25804
25899
|
rendererPackageName: "react-dom",
|
|
25805
25900
|
currentDispatcherRef: ReactSharedInternals,
|
|
25806
|
-
reconcilerVersion: "19.2.0-canary-
|
|
25901
|
+
reconcilerVersion: "19.2.0-canary-d15d7fd7-20250929"
|
|
25807
25902
|
};
|
|
25808
25903
|
internals.overrideHookState = overrideHookState;
|
|
25809
25904
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
|
@@ -25812,6 +25907,7 @@
|
|
|
25812
25907
|
internals.overridePropsDeletePath = overridePropsDeletePath;
|
|
25813
25908
|
internals.overridePropsRenamePath = overridePropsRenamePath;
|
|
25814
25909
|
internals.scheduleUpdate = scheduleUpdate;
|
|
25910
|
+
internals.scheduleRetry = scheduleRetry;
|
|
25815
25911
|
internals.setErrorHandler = setErrorHandler;
|
|
25816
25912
|
internals.setSuspenseHandler = setSuspenseHandler;
|
|
25817
25913
|
internals.scheduleRefresh = scheduleRefresh;
|
|
@@ -25941,7 +26037,7 @@
|
|
|
25941
26037
|
listenToAllSupportedEvents(container);
|
|
25942
26038
|
return new ReactDOMHydrationRoot(initialChildren);
|
|
25943
26039
|
};
|
|
25944
|
-
exports.version = "19.2.0-canary-
|
|
26040
|
+
exports.version = "19.2.0-canary-d15d7fd7-20250929";
|
|
25945
26041
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
25946
26042
|
"function" ===
|
|
25947
26043
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|