react-dom 19.3.0-canary-c9ddee7e-20251031 → 19.3.0-canary-561ee24d-20251101
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 +200 -178
- package/cjs/react-dom-client.production.js +260 -225
- package/cjs/react-dom-profiling.development.js +200 -178
- package/cjs/react-dom-profiling.profiling.js +293 -258
- package/cjs/react-dom-server-legacy.browser.development.js +52 -31
- package/cjs/react-dom-server-legacy.browser.production.js +82 -81
- package/cjs/react-dom-server-legacy.node.development.js +52 -31
- package/cjs/react-dom-server-legacy.node.production.js +82 -81
- package/cjs/react-dom-server.browser.development.js +55 -34
- package/cjs/react-dom-server.browser.production.js +65 -64
- package/cjs/react-dom-server.bun.development.js +54 -34
- package/cjs/react-dom-server.bun.production.js +65 -64
- package/cjs/react-dom-server.edge.development.js +55 -34
- package/cjs/react-dom-server.edge.production.js +65 -64
- package/cjs/react-dom-server.node.development.js +55 -34
- package/cjs/react-dom-server.node.production.js +65 -64
- 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
|
@@ -7823,10 +7823,7 @@
|
|
|
7823
7823
|
return node;
|
|
7824
7824
|
} else if (
|
|
7825
7825
|
19 === node.tag &&
|
|
7826
|
-
|
|
7827
|
-
"backwards" === node.memoizedProps.revealOrder ||
|
|
7828
|
-
"unstable_legacy-backwards" === node.memoizedProps.revealOrder ||
|
|
7829
|
-
"together" === node.memoizedProps.revealOrder)
|
|
7826
|
+
"independent" !== node.memoizedProps.revealOrder
|
|
7830
7827
|
) {
|
|
7831
7828
|
if (0 !== (node.flags & 128)) return node;
|
|
7832
7829
|
} else if (null !== node.child) {
|
|
@@ -11124,24 +11121,24 @@
|
|
|
11124
11121
|
return current;
|
|
11125
11122
|
}
|
|
11126
11123
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
11127
|
-
var
|
|
11128
|
-
var
|
|
11124
|
+
var JSCompiler_object_inline_digest_2972;
|
|
11125
|
+
var JSCompiler_object_inline_stack_2973 = workInProgress.pendingProps;
|
|
11129
11126
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
|
11130
|
-
var
|
|
11127
|
+
var JSCompiler_object_inline_message_2971 = !1;
|
|
11131
11128
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
|
11132
|
-
(
|
|
11133
|
-
(
|
|
11129
|
+
(JSCompiler_object_inline_digest_2972 = didSuspend) ||
|
|
11130
|
+
(JSCompiler_object_inline_digest_2972 =
|
|
11134
11131
|
null !== current && null === current.memoizedState
|
|
11135
11132
|
? !1
|
|
11136
11133
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
|
11137
|
-
|
|
11138
|
-
((
|
|
11134
|
+
JSCompiler_object_inline_digest_2972 &&
|
|
11135
|
+
((JSCompiler_object_inline_message_2971 = !0),
|
|
11139
11136
|
(workInProgress.flags &= -129));
|
|
11140
|
-
|
|
11137
|
+
JSCompiler_object_inline_digest_2972 = 0 !== (workInProgress.flags & 32);
|
|
11141
11138
|
workInProgress.flags &= -33;
|
|
11142
11139
|
if (null === current) {
|
|
11143
11140
|
if (isHydrating) {
|
|
11144
|
-
|
|
11141
|
+
JSCompiler_object_inline_message_2971
|
|
11145
11142
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
|
11146
11143
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
|
11147
11144
|
(current = nextHydratableInstance)
|
|
@@ -11154,18 +11151,18 @@
|
|
|
11154
11151
|
? renderLanes
|
|
11155
11152
|
: null),
|
|
11156
11153
|
null !== renderLanes &&
|
|
11157
|
-
((
|
|
11154
|
+
((JSCompiler_object_inline_digest_2972 = {
|
|
11158
11155
|
dehydrated: renderLanes,
|
|
11159
11156
|
treeContext: getSuspendedTreeContext(),
|
|
11160
11157
|
retryLane: 536870912,
|
|
11161
11158
|
hydrationErrors: null
|
|
11162
11159
|
}),
|
|
11163
11160
|
(workInProgress.memoizedState =
|
|
11164
|
-
|
|
11165
|
-
(
|
|
11161
|
+
JSCompiler_object_inline_digest_2972),
|
|
11162
|
+
(JSCompiler_object_inline_digest_2972 =
|
|
11166
11163
|
createFiberFromDehydratedFragment(renderLanes)),
|
|
11167
|
-
(
|
|
11168
|
-
(workInProgress.child =
|
|
11164
|
+
(JSCompiler_object_inline_digest_2972.return = workInProgress),
|
|
11165
|
+
(workInProgress.child = JSCompiler_object_inline_digest_2972),
|
|
11169
11166
|
(hydrationParentFiber = workInProgress),
|
|
11170
11167
|
(nextHydratableInstance = null)))
|
|
11171
11168
|
: (renderLanes = null);
|
|
@@ -11179,39 +11176,39 @@
|
|
|
11179
11176
|
: (workInProgress.lanes = 536870912);
|
|
11180
11177
|
return null;
|
|
11181
11178
|
}
|
|
11182
|
-
var nextPrimaryChildren =
|
|
11183
|
-
|
|
11184
|
-
|
|
11185
|
-
if (
|
|
11179
|
+
var nextPrimaryChildren = JSCompiler_object_inline_stack_2973.children;
|
|
11180
|
+
JSCompiler_object_inline_stack_2973 =
|
|
11181
|
+
JSCompiler_object_inline_stack_2973.fallback;
|
|
11182
|
+
if (JSCompiler_object_inline_message_2971) {
|
|
11186
11183
|
reuseSuspenseHandlerOnStack(workInProgress);
|
|
11187
11184
|
var mode = workInProgress.mode;
|
|
11188
11185
|
nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
|
|
11189
11186
|
{ mode: "hidden", children: nextPrimaryChildren },
|
|
11190
11187
|
mode
|
|
11191
11188
|
);
|
|
11192
|
-
|
|
11193
|
-
|
|
11189
|
+
JSCompiler_object_inline_stack_2973 = createFiberFromFragment(
|
|
11190
|
+
JSCompiler_object_inline_stack_2973,
|
|
11194
11191
|
mode,
|
|
11195
11192
|
renderLanes,
|
|
11196
11193
|
null
|
|
11197
11194
|
);
|
|
11198
11195
|
nextPrimaryChildren.return = workInProgress;
|
|
11199
|
-
|
|
11200
|
-
nextPrimaryChildren.sibling =
|
|
11196
|
+
JSCompiler_object_inline_stack_2973.return = workInProgress;
|
|
11197
|
+
nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2973;
|
|
11201
11198
|
workInProgress.child = nextPrimaryChildren;
|
|
11202
|
-
|
|
11203
|
-
|
|
11199
|
+
JSCompiler_object_inline_stack_2973 = workInProgress.child;
|
|
11200
|
+
JSCompiler_object_inline_stack_2973.memoizedState =
|
|
11204
11201
|
mountSuspenseOffscreenState(renderLanes);
|
|
11205
|
-
|
|
11202
|
+
JSCompiler_object_inline_stack_2973.childLanes =
|
|
11206
11203
|
getRemainingWorkInPrimaryTree(
|
|
11207
11204
|
current,
|
|
11208
|
-
|
|
11205
|
+
JSCompiler_object_inline_digest_2972,
|
|
11209
11206
|
renderLanes
|
|
11210
11207
|
);
|
|
11211
11208
|
workInProgress.memoizedState = SUSPENDED_MARKER;
|
|
11212
11209
|
return bailoutOffscreenComponent(
|
|
11213
11210
|
null,
|
|
11214
|
-
|
|
11211
|
+
JSCompiler_object_inline_stack_2973
|
|
11215
11212
|
);
|
|
11216
11213
|
}
|
|
11217
11214
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
|
@@ -11222,8 +11219,8 @@
|
|
|
11222
11219
|
}
|
|
11223
11220
|
var prevState = current.memoizedState;
|
|
11224
11221
|
if (null !== prevState) {
|
|
11225
|
-
var
|
|
11226
|
-
if (null !==
|
|
11222
|
+
var JSCompiler_object_inline_componentStack_2974 = prevState.dehydrated;
|
|
11223
|
+
if (null !== JSCompiler_object_inline_componentStack_2974) {
|
|
11227
11224
|
if (didSuspend)
|
|
11228
11225
|
workInProgress.flags & 256
|
|
11229
11226
|
? (pushPrimaryTreeSuspenseHandler(workInProgress),
|
|
@@ -11240,13 +11237,13 @@
|
|
|
11240
11237
|
(workInProgress = null))
|
|
11241
11238
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
|
11242
11239
|
(nextPrimaryChildren =
|
|
11243
|
-
|
|
11240
|
+
JSCompiler_object_inline_stack_2973.fallback),
|
|
11244
11241
|
(mode = workInProgress.mode),
|
|
11245
|
-
(
|
|
11242
|
+
(JSCompiler_object_inline_stack_2973 =
|
|
11246
11243
|
mountWorkInProgressOffscreenFiber(
|
|
11247
11244
|
{
|
|
11248
11245
|
mode: "visible",
|
|
11249
|
-
children:
|
|
11246
|
+
children: JSCompiler_object_inline_stack_2973.children
|
|
11250
11247
|
},
|
|
11251
11248
|
mode
|
|
11252
11249
|
)),
|
|
@@ -11257,30 +11254,30 @@
|
|
|
11257
11254
|
null
|
|
11258
11255
|
)),
|
|
11259
11256
|
(nextPrimaryChildren.flags |= 2),
|
|
11260
|
-
(
|
|
11257
|
+
(JSCompiler_object_inline_stack_2973.return = workInProgress),
|
|
11261
11258
|
(nextPrimaryChildren.return = workInProgress),
|
|
11262
|
-
(
|
|
11259
|
+
(JSCompiler_object_inline_stack_2973.sibling =
|
|
11263
11260
|
nextPrimaryChildren),
|
|
11264
|
-
(workInProgress.child =
|
|
11261
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2973),
|
|
11265
11262
|
reconcileChildFibers(
|
|
11266
11263
|
workInProgress,
|
|
11267
11264
|
current.child,
|
|
11268
11265
|
null,
|
|
11269
11266
|
renderLanes
|
|
11270
11267
|
),
|
|
11271
|
-
(
|
|
11272
|
-
(
|
|
11268
|
+
(JSCompiler_object_inline_stack_2973 = workInProgress.child),
|
|
11269
|
+
(JSCompiler_object_inline_stack_2973.memoizedState =
|
|
11273
11270
|
mountSuspenseOffscreenState(renderLanes)),
|
|
11274
|
-
(
|
|
11271
|
+
(JSCompiler_object_inline_stack_2973.childLanes =
|
|
11275
11272
|
getRemainingWorkInPrimaryTree(
|
|
11276
11273
|
current,
|
|
11277
|
-
|
|
11274
|
+
JSCompiler_object_inline_digest_2972,
|
|
11278
11275
|
renderLanes
|
|
11279
11276
|
)),
|
|
11280
11277
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
11281
11278
|
(workInProgress = bailoutOffscreenComponent(
|
|
11282
11279
|
null,
|
|
11283
|
-
|
|
11280
|
+
JSCompiler_object_inline_stack_2973
|
|
11284
11281
|
)));
|
|
11285
11282
|
else if (
|
|
11286
11283
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
|
@@ -11288,45 +11285,45 @@
|
|
|
11288
11285
|
0 !== (renderLanes & 536870912) &&
|
|
11289
11286
|
markRenderDerivedCause(workInProgress),
|
|
11290
11287
|
isSuspenseInstanceFallback(
|
|
11291
|
-
|
|
11288
|
+
JSCompiler_object_inline_componentStack_2974
|
|
11292
11289
|
))
|
|
11293
11290
|
) {
|
|
11294
|
-
|
|
11295
|
-
|
|
11296
|
-
|
|
11297
|
-
if (
|
|
11298
|
-
nextPrimaryChildren =
|
|
11299
|
-
var message =
|
|
11300
|
-
mode =
|
|
11301
|
-
var componentStack =
|
|
11291
|
+
JSCompiler_object_inline_digest_2972 =
|
|
11292
|
+
JSCompiler_object_inline_componentStack_2974.nextSibling &&
|
|
11293
|
+
JSCompiler_object_inline_componentStack_2974.nextSibling.dataset;
|
|
11294
|
+
if (JSCompiler_object_inline_digest_2972) {
|
|
11295
|
+
nextPrimaryChildren = JSCompiler_object_inline_digest_2972.dgst;
|
|
11296
|
+
var message = JSCompiler_object_inline_digest_2972.msg;
|
|
11297
|
+
mode = JSCompiler_object_inline_digest_2972.stck;
|
|
11298
|
+
var componentStack = JSCompiler_object_inline_digest_2972.cstck;
|
|
11302
11299
|
}
|
|
11303
|
-
|
|
11304
|
-
|
|
11305
|
-
|
|
11306
|
-
|
|
11307
|
-
nextPrimaryChildren =
|
|
11308
|
-
mode =
|
|
11300
|
+
JSCompiler_object_inline_message_2971 = message;
|
|
11301
|
+
JSCompiler_object_inline_digest_2972 = nextPrimaryChildren;
|
|
11302
|
+
JSCompiler_object_inline_stack_2973 = mode;
|
|
11303
|
+
JSCompiler_object_inline_componentStack_2974 = componentStack;
|
|
11304
|
+
nextPrimaryChildren = JSCompiler_object_inline_message_2971;
|
|
11305
|
+
mode = JSCompiler_object_inline_componentStack_2974;
|
|
11309
11306
|
nextPrimaryChildren = nextPrimaryChildren
|
|
11310
11307
|
? Error(nextPrimaryChildren)
|
|
11311
11308
|
: Error(
|
|
11312
11309
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
|
11313
11310
|
);
|
|
11314
11311
|
nextPrimaryChildren.stack =
|
|
11315
|
-
|
|
11316
|
-
nextPrimaryChildren.digest =
|
|
11317
|
-
|
|
11312
|
+
JSCompiler_object_inline_stack_2973 || "";
|
|
11313
|
+
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2972;
|
|
11314
|
+
JSCompiler_object_inline_digest_2972 =
|
|
11318
11315
|
void 0 === mode ? null : mode;
|
|
11319
|
-
|
|
11316
|
+
JSCompiler_object_inline_stack_2973 = {
|
|
11320
11317
|
value: nextPrimaryChildren,
|
|
11321
11318
|
source: null,
|
|
11322
|
-
stack:
|
|
11319
|
+
stack: JSCompiler_object_inline_digest_2972
|
|
11323
11320
|
};
|
|
11324
|
-
"string" === typeof
|
|
11321
|
+
"string" === typeof JSCompiler_object_inline_digest_2972 &&
|
|
11325
11322
|
CapturedStacks.set(
|
|
11326
11323
|
nextPrimaryChildren,
|
|
11327
|
-
|
|
11324
|
+
JSCompiler_object_inline_stack_2973
|
|
11328
11325
|
);
|
|
11329
|
-
queueHydrationError(
|
|
11326
|
+
queueHydrationError(JSCompiler_object_inline_stack_2973);
|
|
11330
11327
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
|
11331
11328
|
current,
|
|
11332
11329
|
workInProgress,
|
|
@@ -11340,35 +11337,35 @@
|
|
|
11340
11337
|
renderLanes,
|
|
11341
11338
|
!1
|
|
11342
11339
|
),
|
|
11343
|
-
(
|
|
11340
|
+
(JSCompiler_object_inline_digest_2972 =
|
|
11344
11341
|
0 !== (renderLanes & current.childLanes)),
|
|
11345
|
-
didReceiveUpdate ||
|
|
11342
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2972)
|
|
11346
11343
|
) {
|
|
11347
|
-
|
|
11344
|
+
JSCompiler_object_inline_digest_2972 = workInProgressRoot;
|
|
11348
11345
|
if (
|
|
11349
|
-
null !==
|
|
11350
|
-
((
|
|
11351
|
-
|
|
11346
|
+
null !== JSCompiler_object_inline_digest_2972 &&
|
|
11347
|
+
((JSCompiler_object_inline_stack_2973 = getBumpedLaneForHydration(
|
|
11348
|
+
JSCompiler_object_inline_digest_2972,
|
|
11352
11349
|
renderLanes
|
|
11353
11350
|
)),
|
|
11354
|
-
0 !==
|
|
11355
|
-
|
|
11351
|
+
0 !== JSCompiler_object_inline_stack_2973 &&
|
|
11352
|
+
JSCompiler_object_inline_stack_2973 !== prevState.retryLane)
|
|
11356
11353
|
)
|
|
11357
11354
|
throw (
|
|
11358
|
-
((prevState.retryLane =
|
|
11355
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2973),
|
|
11359
11356
|
enqueueConcurrentRenderForLane(
|
|
11360
11357
|
current,
|
|
11361
|
-
|
|
11358
|
+
JSCompiler_object_inline_stack_2973
|
|
11362
11359
|
),
|
|
11363
11360
|
scheduleUpdateOnFiber(
|
|
11364
|
-
|
|
11361
|
+
JSCompiler_object_inline_digest_2972,
|
|
11365
11362
|
current,
|
|
11366
|
-
|
|
11363
|
+
JSCompiler_object_inline_stack_2973
|
|
11367
11364
|
),
|
|
11368
11365
|
SelectiveHydrationException)
|
|
11369
11366
|
);
|
|
11370
11367
|
isSuspenseInstancePending(
|
|
11371
|
-
|
|
11368
|
+
JSCompiler_object_inline_componentStack_2974
|
|
11372
11369
|
) || renderDidSuspendDelayIfPossible();
|
|
11373
11370
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
|
11374
11371
|
current,
|
|
@@ -11377,14 +11374,14 @@
|
|
|
11377
11374
|
);
|
|
11378
11375
|
} else
|
|
11379
11376
|
isSuspenseInstancePending(
|
|
11380
|
-
|
|
11377
|
+
JSCompiler_object_inline_componentStack_2974
|
|
11381
11378
|
)
|
|
11382
11379
|
? ((workInProgress.flags |= 192),
|
|
11383
11380
|
(workInProgress.child = current.child),
|
|
11384
11381
|
(workInProgress = null))
|
|
11385
11382
|
: ((current = prevState.treeContext),
|
|
11386
11383
|
(nextHydratableInstance = getNextHydratable(
|
|
11387
|
-
|
|
11384
|
+
JSCompiler_object_inline_componentStack_2974.nextSibling
|
|
11388
11385
|
)),
|
|
11389
11386
|
(hydrationParentFiber = workInProgress),
|
|
11390
11387
|
(isHydrating = !0),
|
|
@@ -11396,32 +11393,32 @@
|
|
|
11396
11393
|
restoreSuspendedTreeContext(workInProgress, current),
|
|
11397
11394
|
(workInProgress = mountSuspensePrimaryChildren(
|
|
11398
11395
|
workInProgress,
|
|
11399
|
-
|
|
11396
|
+
JSCompiler_object_inline_stack_2973.children
|
|
11400
11397
|
)),
|
|
11401
11398
|
(workInProgress.flags |= 4096));
|
|
11402
11399
|
return workInProgress;
|
|
11403
11400
|
}
|
|
11404
11401
|
}
|
|
11405
|
-
if (
|
|
11402
|
+
if (JSCompiler_object_inline_message_2971)
|
|
11406
11403
|
return (
|
|
11407
11404
|
reuseSuspenseHandlerOnStack(workInProgress),
|
|
11408
|
-
(nextPrimaryChildren =
|
|
11405
|
+
(nextPrimaryChildren = JSCompiler_object_inline_stack_2973.fallback),
|
|
11409
11406
|
(mode = workInProgress.mode),
|
|
11410
11407
|
(componentStack = current.child),
|
|
11411
|
-
(
|
|
11408
|
+
(JSCompiler_object_inline_componentStack_2974 =
|
|
11412
11409
|
componentStack.sibling),
|
|
11413
|
-
(
|
|
11410
|
+
(JSCompiler_object_inline_stack_2973 = createWorkInProgress(
|
|
11414
11411
|
componentStack,
|
|
11415
11412
|
{
|
|
11416
11413
|
mode: "hidden",
|
|
11417
|
-
children:
|
|
11414
|
+
children: JSCompiler_object_inline_stack_2973.children
|
|
11418
11415
|
}
|
|
11419
11416
|
)),
|
|
11420
|
-
(
|
|
11417
|
+
(JSCompiler_object_inline_stack_2973.subtreeFlags =
|
|
11421
11418
|
componentStack.subtreeFlags & 65011712),
|
|
11422
|
-
null !==
|
|
11419
|
+
null !== JSCompiler_object_inline_componentStack_2974
|
|
11423
11420
|
? (nextPrimaryChildren = createWorkInProgress(
|
|
11424
|
-
|
|
11421
|
+
JSCompiler_object_inline_componentStack_2974,
|
|
11425
11422
|
nextPrimaryChildren
|
|
11426
11423
|
))
|
|
11427
11424
|
: ((nextPrimaryChildren = createFiberFromFragment(
|
|
@@ -11432,11 +11429,11 @@
|
|
|
11432
11429
|
)),
|
|
11433
11430
|
(nextPrimaryChildren.flags |= 2)),
|
|
11434
11431
|
(nextPrimaryChildren.return = workInProgress),
|
|
11435
|
-
(
|
|
11436
|
-
(
|
|
11437
|
-
(workInProgress.child =
|
|
11438
|
-
bailoutOffscreenComponent(null,
|
|
11439
|
-
(
|
|
11432
|
+
(JSCompiler_object_inline_stack_2973.return = workInProgress),
|
|
11433
|
+
(JSCompiler_object_inline_stack_2973.sibling = nextPrimaryChildren),
|
|
11434
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2973),
|
|
11435
|
+
bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2973),
|
|
11436
|
+
(JSCompiler_object_inline_stack_2973 = workInProgress.child),
|
|
11440
11437
|
(nextPrimaryChildren = current.child.memoizedState),
|
|
11441
11438
|
null === nextPrimaryChildren
|
|
11442
11439
|
? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))
|
|
@@ -11452,18 +11449,18 @@
|
|
|
11452
11449
|
baseLanes: nextPrimaryChildren.baseLanes | renderLanes,
|
|
11453
11450
|
cachePool: mode
|
|
11454
11451
|
})),
|
|
11455
|
-
(
|
|
11452
|
+
(JSCompiler_object_inline_stack_2973.memoizedState =
|
|
11456
11453
|
nextPrimaryChildren),
|
|
11457
|
-
(
|
|
11454
|
+
(JSCompiler_object_inline_stack_2973.childLanes =
|
|
11458
11455
|
getRemainingWorkInPrimaryTree(
|
|
11459
11456
|
current,
|
|
11460
|
-
|
|
11457
|
+
JSCompiler_object_inline_digest_2972,
|
|
11461
11458
|
renderLanes
|
|
11462
11459
|
)),
|
|
11463
11460
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
11464
11461
|
bailoutOffscreenComponent(
|
|
11465
11462
|
current.child,
|
|
11466
|
-
|
|
11463
|
+
JSCompiler_object_inline_stack_2973
|
|
11467
11464
|
)
|
|
11468
11465
|
);
|
|
11469
11466
|
null !== prevState &&
|
|
@@ -11475,16 +11472,16 @@
|
|
|
11475
11472
|
current = renderLanes.sibling;
|
|
11476
11473
|
renderLanes = createWorkInProgress(renderLanes, {
|
|
11477
11474
|
mode: "visible",
|
|
11478
|
-
children:
|
|
11475
|
+
children: JSCompiler_object_inline_stack_2973.children
|
|
11479
11476
|
});
|
|
11480
11477
|
renderLanes.return = workInProgress;
|
|
11481
11478
|
renderLanes.sibling = null;
|
|
11482
11479
|
null !== current &&
|
|
11483
|
-
((
|
|
11484
|
-
null ===
|
|
11480
|
+
((JSCompiler_object_inline_digest_2972 = workInProgress.deletions),
|
|
11481
|
+
null === JSCompiler_object_inline_digest_2972
|
|
11485
11482
|
? ((workInProgress.deletions = [current]),
|
|
11486
11483
|
(workInProgress.flags |= 16))
|
|
11487
|
-
:
|
|
11484
|
+
: JSCompiler_object_inline_digest_2972.push(current));
|
|
11488
11485
|
workInProgress.child = renderLanes;
|
|
11489
11486
|
workInProgress.memoizedState = null;
|
|
11490
11487
|
return renderLanes;
|
|
@@ -11526,6 +11523,16 @@
|
|
|
11526
11523
|
propagationRoot
|
|
11527
11524
|
);
|
|
11528
11525
|
}
|
|
11526
|
+
function findLastContentRow(firstChild) {
|
|
11527
|
+
for (var lastContentRow = null; null !== firstChild; ) {
|
|
11528
|
+
var currentRow = firstChild.alternate;
|
|
11529
|
+
null !== currentRow &&
|
|
11530
|
+
null === findFirstSuspended(currentRow) &&
|
|
11531
|
+
(lastContentRow = firstChild);
|
|
11532
|
+
firstChild = firstChild.sibling;
|
|
11533
|
+
}
|
|
11534
|
+
return lastContentRow;
|
|
11535
|
+
}
|
|
11529
11536
|
function initSuspenseListRenderState(
|
|
11530
11537
|
workInProgress,
|
|
11531
11538
|
isBackwards,
|
|
@@ -11553,6 +11560,15 @@
|
|
|
11553
11560
|
(renderState.tailMode = tailMode),
|
|
11554
11561
|
(renderState.treeForkCount = treeForkCount));
|
|
11555
11562
|
}
|
|
11563
|
+
function reverseChildren(fiber) {
|
|
11564
|
+
var row = fiber.child;
|
|
11565
|
+
for (fiber.child = null; null !== row; ) {
|
|
11566
|
+
var nextRow = row.sibling;
|
|
11567
|
+
row.sibling = fiber.child;
|
|
11568
|
+
fiber.child = row;
|
|
11569
|
+
row = nextRow;
|
|
11570
|
+
}
|
|
11571
|
+
}
|
|
11556
11572
|
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
|
11557
11573
|
var nextProps = workInProgress.pendingProps,
|
|
11558
11574
|
revealOrder = nextProps.revealOrder,
|
|
@@ -11568,23 +11584,18 @@
|
|
|
11568
11584
|
push(suspenseStackCursor, suspenseContext, workInProgress);
|
|
11569
11585
|
suspenseContext = null == revealOrder ? "null" : revealOrder;
|
|
11570
11586
|
if (
|
|
11587
|
+
null != revealOrder &&
|
|
11571
11588
|
"forwards" !== revealOrder &&
|
|
11589
|
+
"backwards" !== revealOrder &&
|
|
11572
11590
|
"unstable_legacy-backwards" !== revealOrder &&
|
|
11573
11591
|
"together" !== revealOrder &&
|
|
11574
11592
|
"independent" !== revealOrder &&
|
|
11575
11593
|
!didWarnAboutRevealOrder[suspenseContext]
|
|
11576
11594
|
)
|
|
11577
11595
|
if (
|
|
11578
|
-
((didWarnAboutRevealOrder[suspenseContext] = !0),
|
|
11596
|
+
((didWarnAboutRevealOrder[suspenseContext] = !0),
|
|
11597
|
+
"string" === typeof revealOrder)
|
|
11579
11598
|
)
|
|
11580
|
-
console.error(
|
|
11581
|
-
'The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".'
|
|
11582
|
-
);
|
|
11583
|
-
else if ("backwards" === revealOrder)
|
|
11584
|
-
console.error(
|
|
11585
|
-
'The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.'
|
|
11586
|
-
);
|
|
11587
|
-
else if ("string" === typeof revealOrder)
|
|
11588
11599
|
switch (revealOrder.toLowerCase()) {
|
|
11589
11600
|
case "together":
|
|
11590
11601
|
case "forwards":
|
|
@@ -11616,36 +11627,28 @@
|
|
|
11616
11627
|
revealOrder
|
|
11617
11628
|
);
|
|
11618
11629
|
suspenseContext = null == tailMode ? "null" : tailMode;
|
|
11619
|
-
|
|
11620
|
-
|
|
11621
|
-
|
|
11622
|
-
|
|
11623
|
-
|
|
11624
|
-
|
|
11625
|
-
|
|
11626
|
-
|
|
11627
|
-
|
|
11628
|
-
|
|
11629
|
-
|
|
11630
|
-
|
|
11631
|
-
|
|
11632
|
-
|
|
11633
|
-
|
|
11634
|
-
|
|
11635
|
-
|
|
11636
|
-
|
|
11637
|
-
|
|
11638
|
-
))
|
|
11639
|
-
: "forwards" !== revealOrder &&
|
|
11640
|
-
"backwards" !== revealOrder &&
|
|
11641
|
-
"unstable_legacy-backwards" !== revealOrder &&
|
|
11642
|
-
((didWarnAboutTailOptions[suspenseContext] = !0),
|
|
11643
|
-
console.error(
|
|
11644
|
-
'<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',
|
|
11645
|
-
tailMode
|
|
11646
|
-
));
|
|
11630
|
+
didWarnAboutTailOptions[suspenseContext] ||
|
|
11631
|
+
null == tailMode ||
|
|
11632
|
+
("visible" !== tailMode &&
|
|
11633
|
+
"collapsed" !== tailMode &&
|
|
11634
|
+
"hidden" !== tailMode
|
|
11635
|
+
? ((didWarnAboutTailOptions[suspenseContext] = !0),
|
|
11636
|
+
console.error(
|
|
11637
|
+
'"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',
|
|
11638
|
+
tailMode
|
|
11639
|
+
))
|
|
11640
|
+
: null != revealOrder &&
|
|
11641
|
+
"forwards" !== revealOrder &&
|
|
11642
|
+
"backwards" !== revealOrder &&
|
|
11643
|
+
"unstable_legacy-backwards" !== revealOrder &&
|
|
11644
|
+
((didWarnAboutTailOptions[suspenseContext] = !0),
|
|
11645
|
+
console.error(
|
|
11646
|
+
'<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" (default) or "backwards". Did you mean to specify revealOrder="forwards"?',
|
|
11647
|
+
tailMode
|
|
11648
|
+
)));
|
|
11647
11649
|
a: if (
|
|
11648
|
-
(
|
|
11650
|
+
(null == revealOrder ||
|
|
11651
|
+
"forwards" === revealOrder ||
|
|
11649
11652
|
"backwards" === revealOrder ||
|
|
11650
11653
|
"unstable_legacy-backwards" === revealOrder) &&
|
|
11651
11654
|
void 0 !== newChildren &&
|
|
@@ -11684,7 +11687,11 @@
|
|
|
11684
11687
|
'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?',
|
|
11685
11688
|
revealOrder
|
|
11686
11689
|
);
|
|
11687
|
-
|
|
11690
|
+
"backwards" === revealOrder && null !== current
|
|
11691
|
+
? (reverseChildren(current),
|
|
11692
|
+
reconcileChildren(current, workInProgress, newChildren, renderLanes),
|
|
11693
|
+
reverseChildren(current))
|
|
11694
|
+
: reconcileChildren(current, workInProgress, newChildren, renderLanes);
|
|
11688
11695
|
isHydrating
|
|
11689
11696
|
? (warnIfNotHydrating(), (newChildren = treeForkCount))
|
|
11690
11697
|
: (newChildren = 0);
|
|
@@ -11710,30 +11717,23 @@
|
|
|
11710
11717
|
current = current.sibling;
|
|
11711
11718
|
}
|
|
11712
11719
|
switch (revealOrder) {
|
|
11713
|
-
case "
|
|
11714
|
-
renderLanes = workInProgress.child;
|
|
11715
|
-
for (revealOrder = null; null !== renderLanes; )
|
|
11716
|
-
(current = renderLanes.alternate),
|
|
11717
|
-
null !== current &&
|
|
11718
|
-
null === findFirstSuspended(current) &&
|
|
11719
|
-
(revealOrder = renderLanes),
|
|
11720
|
-
(renderLanes = renderLanes.sibling);
|
|
11721
|
-
renderLanes = revealOrder;
|
|
11720
|
+
case "backwards":
|
|
11721
|
+
renderLanes = findLastContentRow(workInProgress.child);
|
|
11722
11722
|
null === renderLanes
|
|
11723
11723
|
? ((revealOrder = workInProgress.child),
|
|
11724
11724
|
(workInProgress.child = null))
|
|
11725
11725
|
: ((revealOrder = renderLanes.sibling),
|
|
11726
|
-
(renderLanes.sibling = null)
|
|
11726
|
+
(renderLanes.sibling = null),
|
|
11727
|
+
reverseChildren(workInProgress));
|
|
11727
11728
|
initSuspenseListRenderState(
|
|
11728
11729
|
workInProgress,
|
|
11729
|
-
!
|
|
11730
|
+
!0,
|
|
11730
11731
|
revealOrder,
|
|
11731
|
-
|
|
11732
|
+
null,
|
|
11732
11733
|
tailMode,
|
|
11733
11734
|
newChildren
|
|
11734
11735
|
);
|
|
11735
11736
|
break;
|
|
11736
|
-
case "backwards":
|
|
11737
11737
|
case "unstable_legacy-backwards":
|
|
11738
11738
|
renderLanes = null;
|
|
11739
11739
|
revealOrder = workInProgress.child;
|
|
@@ -11767,8 +11767,24 @@
|
|
|
11767
11767
|
newChildren
|
|
11768
11768
|
);
|
|
11769
11769
|
break;
|
|
11770
|
-
|
|
11770
|
+
case "independent":
|
|
11771
11771
|
workInProgress.memoizedState = null;
|
|
11772
|
+
break;
|
|
11773
|
+
default:
|
|
11774
|
+
(renderLanes = findLastContentRow(workInProgress.child)),
|
|
11775
|
+
null === renderLanes
|
|
11776
|
+
? ((revealOrder = workInProgress.child),
|
|
11777
|
+
(workInProgress.child = null))
|
|
11778
|
+
: ((revealOrder = renderLanes.sibling),
|
|
11779
|
+
(renderLanes.sibling = null)),
|
|
11780
|
+
initSuspenseListRenderState(
|
|
11781
|
+
workInProgress,
|
|
11782
|
+
!1,
|
|
11783
|
+
revealOrder,
|
|
11784
|
+
renderLanes,
|
|
11785
|
+
tailMode,
|
|
11786
|
+
newChildren
|
|
11787
|
+
);
|
|
11772
11788
|
}
|
|
11773
11789
|
return workInProgress.child;
|
|
11774
11790
|
}
|
|
@@ -12699,26 +12715,31 @@
|
|
|
12699
12715
|
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
|
12700
12716
|
if (!isHydrating)
|
|
12701
12717
|
switch (renderState.tailMode) {
|
|
12702
|
-
case "
|
|
12703
|
-
hasRenderedATailFallback = renderState.tail;
|
|
12704
|
-
for (var lastTailNode = null; null !== hasRenderedATailFallback; )
|
|
12705
|
-
null !== hasRenderedATailFallback.alternate &&
|
|
12706
|
-
(lastTailNode = hasRenderedATailFallback),
|
|
12707
|
-
(hasRenderedATailFallback = hasRenderedATailFallback.sibling);
|
|
12708
|
-
null === lastTailNode
|
|
12709
|
-
? (renderState.tail = null)
|
|
12710
|
-
: (lastTailNode.sibling = null);
|
|
12718
|
+
case "visible":
|
|
12711
12719
|
break;
|
|
12712
12720
|
case "collapsed":
|
|
12713
|
-
|
|
12714
|
-
|
|
12715
|
-
null !==
|
|
12716
|
-
|
|
12717
|
-
|
|
12721
|
+
for (
|
|
12722
|
+
var tailNode = renderState.tail, lastTailNode = null;
|
|
12723
|
+
null !== tailNode;
|
|
12724
|
+
|
|
12725
|
+
)
|
|
12726
|
+
null !== tailNode.alternate && (lastTailNode = tailNode),
|
|
12727
|
+
(tailNode = tailNode.sibling);
|
|
12728
|
+
null === lastTailNode
|
|
12718
12729
|
? hasRenderedATailFallback || null === renderState.tail
|
|
12719
12730
|
? (renderState.tail = null)
|
|
12720
12731
|
: (renderState.tail.sibling = null)
|
|
12721
|
-
: (
|
|
12732
|
+
: (lastTailNode.sibling = null);
|
|
12733
|
+
break;
|
|
12734
|
+
default:
|
|
12735
|
+
hasRenderedATailFallback = renderState.tail;
|
|
12736
|
+
for (tailNode = null; null !== hasRenderedATailFallback; )
|
|
12737
|
+
null !== hasRenderedATailFallback.alternate &&
|
|
12738
|
+
(tailNode = hasRenderedATailFallback),
|
|
12739
|
+
(hasRenderedATailFallback = hasRenderedATailFallback.sibling);
|
|
12740
|
+
null === tailNode
|
|
12741
|
+
? (renderState.tail = null)
|
|
12742
|
+
: (tailNode.sibling = null);
|
|
12722
12743
|
}
|
|
12723
12744
|
}
|
|
12724
12745
|
function bubbleProperties(completedWork) {
|
|
@@ -13341,7 +13362,8 @@
|
|
|
13341
13362
|
scheduleRetryEffect(workInProgress, current),
|
|
13342
13363
|
cutOffTailIfNeeded(newProps, !0),
|
|
13343
13364
|
null === newProps.tail &&
|
|
13344
|
-
"
|
|
13365
|
+
"collapsed" !== newProps.tailMode &&
|
|
13366
|
+
"visible" !== newProps.tailMode &&
|
|
13345
13367
|
!nextResource.alternate &&
|
|
13346
13368
|
!isHydrating)
|
|
13347
13369
|
)
|
|
@@ -30303,11 +30325,11 @@
|
|
|
30303
30325
|
};
|
|
30304
30326
|
(function () {
|
|
30305
30327
|
var isomorphicReactPackageVersion = React.version;
|
|
30306
|
-
if ("19.3.0-canary-
|
|
30328
|
+
if ("19.3.0-canary-561ee24d-20251101" !== isomorphicReactPackageVersion)
|
|
30307
30329
|
throw Error(
|
|
30308
30330
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
30309
30331
|
(isomorphicReactPackageVersion +
|
|
30310
|
-
"\n - react-dom: 19.3.0-canary-
|
|
30332
|
+
"\n - react-dom: 19.3.0-canary-561ee24d-20251101\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
30311
30333
|
);
|
|
30312
30334
|
})();
|
|
30313
30335
|
("function" === typeof Map &&
|
|
@@ -30344,10 +30366,10 @@
|
|
|
30344
30366
|
!(function () {
|
|
30345
30367
|
var internals = {
|
|
30346
30368
|
bundleType: 1,
|
|
30347
|
-
version: "19.3.0-canary-
|
|
30369
|
+
version: "19.3.0-canary-561ee24d-20251101",
|
|
30348
30370
|
rendererPackageName: "react-dom",
|
|
30349
30371
|
currentDispatcherRef: ReactSharedInternals,
|
|
30350
|
-
reconcilerVersion: "19.3.0-canary-
|
|
30372
|
+
reconcilerVersion: "19.3.0-canary-561ee24d-20251101"
|
|
30351
30373
|
};
|
|
30352
30374
|
internals.overrideHookState = overrideHookState;
|
|
30353
30375
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
|
@@ -30485,7 +30507,7 @@
|
|
|
30485
30507
|
listenToAllSupportedEvents(container);
|
|
30486
30508
|
return new ReactDOMHydrationRoot(initialChildren);
|
|
30487
30509
|
};
|
|
30488
|
-
exports.version = "19.3.0-canary-
|
|
30510
|
+
exports.version = "19.3.0-canary-561ee24d-20251101";
|
|
30489
30511
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
30490
30512
|
"function" ===
|
|
30491
30513
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|