react-dom 19.2.0-canary-a00ca6f6-20250611 → 19.2.0-canary-79d9aed7-20250620
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 +12 -15
- package/cjs/react-dom-client.production.js +8 -5
- package/cjs/react-dom-profiling.development.js +12 -15
- package/cjs/react-dom-profiling.profiling.js +8 -5
- package/cjs/react-dom-server-legacy.browser.development.js +22 -14
- package/cjs/react-dom-server-legacy.browser.production.js +19 -10
- package/cjs/react-dom-server-legacy.node.development.js +22 -14
- package/cjs/react-dom-server-legacy.node.production.js +19 -10
- package/cjs/react-dom-server.browser.development.js +24 -16
- package/cjs/react-dom-server.browser.production.js +21 -12
- package/cjs/react-dom-server.bun.development.js +24 -12
- package/cjs/react-dom-server.bun.production.js +21 -12
- package/cjs/react-dom-server.edge.development.js +24 -16
- package/cjs/react-dom-server.edge.production.js +21 -12
- package/cjs/react-dom-server.node.development.js +24 -16
- package/cjs/react-dom-server.node.production.js +21 -12
- 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
|
@@ -7736,8 +7736,7 @@
|
|
|
7736
7736
|
)));
|
|
7737
7737
|
}
|
|
7738
7738
|
function mountEffect(create, deps) {
|
|
7739
|
-
(currentlyRenderingFiber.mode & StrictEffectsMode) !== NoMode
|
|
7740
|
-
(currentlyRenderingFiber.mode & NoStrictPassiveEffectsMode) === NoMode
|
|
7739
|
+
(currentlyRenderingFiber.mode & StrictEffectsMode) !== NoMode
|
|
7741
7740
|
? mountEffectImpl(276826112, Passive, create, deps)
|
|
7742
7741
|
: mountEffectImpl(8390656, Passive, create, deps);
|
|
7743
7742
|
}
|
|
@@ -16465,8 +16464,7 @@
|
|
|
16465
16464
|
fiber,
|
|
16466
16465
|
doubleInvokeEffectsOnFiber,
|
|
16467
16466
|
root,
|
|
16468
|
-
fiber
|
|
16469
|
-
(fiber.mode & NoStrictPassiveEffectsMode) === NoMode
|
|
16467
|
+
fiber
|
|
16470
16468
|
)
|
|
16471
16469
|
: recursivelyTraverseAndDoubleInvokeEffectsInDEV(
|
|
16472
16470
|
root,
|
|
@@ -16493,15 +16491,12 @@
|
|
|
16493
16491
|
}
|
|
16494
16492
|
}
|
|
16495
16493
|
function doubleInvokeEffectsOnFiber(root, fiber) {
|
|
16496
|
-
var shouldDoubleInvokePassiveEffects =
|
|
16497
|
-
2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : !0;
|
|
16498
16494
|
setIsStrictModeForDevtools(!0);
|
|
16499
16495
|
try {
|
|
16500
16496
|
disappearLayoutEffects(fiber),
|
|
16501
|
-
|
|
16497
|
+
disconnectPassiveEffect(fiber),
|
|
16502
16498
|
reappearLayoutEffects(root, fiber.alternate, fiber, !1),
|
|
16503
|
-
|
|
16504
|
-
reconnectPassiveEffects(root, fiber, 0, null, !1, 0);
|
|
16499
|
+
reconnectPassiveEffects(root, fiber, 0, null, !1, 0);
|
|
16505
16500
|
} finally {
|
|
16506
16501
|
setIsStrictModeForDevtools(!1);
|
|
16507
16502
|
}
|
|
@@ -23233,7 +23228,6 @@
|
|
|
23233
23228
|
ProfileMode = 2,
|
|
23234
23229
|
StrictLegacyMode = 8,
|
|
23235
23230
|
StrictEffectsMode = 16,
|
|
23236
|
-
NoStrictPassiveEffectsMode = 64,
|
|
23237
23231
|
SuspenseyImagesMode = 32;
|
|
23238
23232
|
var hasBadMapPolyfill = !1;
|
|
23239
23233
|
try {
|
|
@@ -24864,6 +24858,9 @@
|
|
|
24864
24858
|
cache.data.set(resourceType, cacheForType));
|
|
24865
24859
|
return cacheForType;
|
|
24866
24860
|
},
|
|
24861
|
+
cacheSignal: function () {
|
|
24862
|
+
return readContext(CacheContext).controller.signal;
|
|
24863
|
+
},
|
|
24867
24864
|
getOwner: function () {
|
|
24868
24865
|
return current;
|
|
24869
24866
|
}
|
|
@@ -25490,11 +25487,11 @@
|
|
|
25490
25487
|
};
|
|
25491
25488
|
(function () {
|
|
25492
25489
|
var isomorphicReactPackageVersion = React.version;
|
|
25493
|
-
if ("19.2.0-canary-
|
|
25490
|
+
if ("19.2.0-canary-79d9aed7-20250620" !== isomorphicReactPackageVersion)
|
|
25494
25491
|
throw Error(
|
|
25495
25492
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
25496
25493
|
(isomorphicReactPackageVersion +
|
|
25497
|
-
"\n - react-dom: 19.2.0-canary-
|
|
25494
|
+
"\n - react-dom: 19.2.0-canary-79d9aed7-20250620\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
25498
25495
|
);
|
|
25499
25496
|
})();
|
|
25500
25497
|
("function" === typeof Map &&
|
|
@@ -25531,10 +25528,10 @@
|
|
|
25531
25528
|
!(function () {
|
|
25532
25529
|
var internals = {
|
|
25533
25530
|
bundleType: 1,
|
|
25534
|
-
version: "19.2.0-canary-
|
|
25531
|
+
version: "19.2.0-canary-79d9aed7-20250620",
|
|
25535
25532
|
rendererPackageName: "react-dom",
|
|
25536
25533
|
currentDispatcherRef: ReactSharedInternals,
|
|
25537
|
-
reconcilerVersion: "19.2.0-canary-
|
|
25534
|
+
reconcilerVersion: "19.2.0-canary-79d9aed7-20250620"
|
|
25538
25535
|
};
|
|
25539
25536
|
internals.overrideHookState = overrideHookState;
|
|
25540
25537
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
|
@@ -25672,7 +25669,7 @@
|
|
|
25672
25669
|
listenToAllSupportedEvents(container);
|
|
25673
25670
|
return new ReactDOMHydrationRoot(initialChildren);
|
|
25674
25671
|
};
|
|
25675
|
-
exports.version = "19.2.0-canary-
|
|
25672
|
+
exports.version = "19.2.0-canary-79d9aed7-20250620";
|
|
25676
25673
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
25677
25674
|
"function" ===
|
|
25678
25675
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
|
@@ -10504,6 +10504,9 @@ var DefaultAsyncDispatcher = {
|
|
|
10504
10504
|
((cacheForType = resourceType()),
|
|
10505
10505
|
cache.data.set(resourceType, cacheForType));
|
|
10506
10506
|
return cacheForType;
|
|
10507
|
+
},
|
|
10508
|
+
cacheSignal: function () {
|
|
10509
|
+
return readContext(CacheContext).controller.signal;
|
|
10507
10510
|
}
|
|
10508
10511
|
},
|
|
10509
10512
|
PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map,
|
|
@@ -15710,14 +15713,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
|
15710
15713
|
};
|
|
15711
15714
|
var isomorphicReactPackageVersion$jscomp$inline_1851 = React.version;
|
|
15712
15715
|
if (
|
|
15713
|
-
"19.2.0-canary-
|
|
15716
|
+
"19.2.0-canary-79d9aed7-20250620" !==
|
|
15714
15717
|
isomorphicReactPackageVersion$jscomp$inline_1851
|
|
15715
15718
|
)
|
|
15716
15719
|
throw Error(
|
|
15717
15720
|
formatProdErrorMessage(
|
|
15718
15721
|
527,
|
|
15719
15722
|
isomorphicReactPackageVersion$jscomp$inline_1851,
|
|
15720
|
-
"19.2.0-canary-
|
|
15723
|
+
"19.2.0-canary-79d9aed7-20250620"
|
|
15721
15724
|
)
|
|
15722
15725
|
);
|
|
15723
15726
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
@@ -15739,10 +15742,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
|
15739
15742
|
};
|
|
15740
15743
|
var internals$jscomp$inline_2344 = {
|
|
15741
15744
|
bundleType: 0,
|
|
15742
|
-
version: "19.2.0-canary-
|
|
15745
|
+
version: "19.2.0-canary-79d9aed7-20250620",
|
|
15743
15746
|
rendererPackageName: "react-dom",
|
|
15744
15747
|
currentDispatcherRef: ReactSharedInternals,
|
|
15745
|
-
reconcilerVersion: "19.2.0-canary-
|
|
15748
|
+
reconcilerVersion: "19.2.0-canary-79d9aed7-20250620"
|
|
15746
15749
|
};
|
|
15747
15750
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
|
15748
15751
|
var hook$jscomp$inline_2345 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
@@ -15840,4 +15843,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
|
15840
15843
|
listenToAllSupportedEvents(container);
|
|
15841
15844
|
return new ReactDOMHydrationRoot(initialChildren);
|
|
15842
15845
|
};
|
|
15843
|
-
exports.version = "19.2.0-canary-
|
|
15846
|
+
exports.version = "19.2.0-canary-79d9aed7-20250620";
|
|
@@ -7744,8 +7744,7 @@
|
|
|
7744
7744
|
)));
|
|
7745
7745
|
}
|
|
7746
7746
|
function mountEffect(create, deps) {
|
|
7747
|
-
(currentlyRenderingFiber.mode & StrictEffectsMode) !== NoMode
|
|
7748
|
-
(currentlyRenderingFiber.mode & NoStrictPassiveEffectsMode) === NoMode
|
|
7747
|
+
(currentlyRenderingFiber.mode & StrictEffectsMode) !== NoMode
|
|
7749
7748
|
? mountEffectImpl(276826112, Passive, create, deps)
|
|
7750
7749
|
: mountEffectImpl(8390656, Passive, create, deps);
|
|
7751
7750
|
}
|
|
@@ -16473,8 +16472,7 @@
|
|
|
16473
16472
|
fiber,
|
|
16474
16473
|
doubleInvokeEffectsOnFiber,
|
|
16475
16474
|
root,
|
|
16476
|
-
fiber
|
|
16477
|
-
(fiber.mode & NoStrictPassiveEffectsMode) === NoMode
|
|
16475
|
+
fiber
|
|
16478
16476
|
)
|
|
16479
16477
|
: recursivelyTraverseAndDoubleInvokeEffectsInDEV(
|
|
16480
16478
|
root,
|
|
@@ -16501,15 +16499,12 @@
|
|
|
16501
16499
|
}
|
|
16502
16500
|
}
|
|
16503
16501
|
function doubleInvokeEffectsOnFiber(root, fiber) {
|
|
16504
|
-
var shouldDoubleInvokePassiveEffects =
|
|
16505
|
-
2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : !0;
|
|
16506
16502
|
setIsStrictModeForDevtools(!0);
|
|
16507
16503
|
try {
|
|
16508
16504
|
disappearLayoutEffects(fiber),
|
|
16509
|
-
|
|
16505
|
+
disconnectPassiveEffect(fiber),
|
|
16510
16506
|
reappearLayoutEffects(root, fiber.alternate, fiber, !1),
|
|
16511
|
-
|
|
16512
|
-
reconnectPassiveEffects(root, fiber, 0, null, !1, 0);
|
|
16507
|
+
reconnectPassiveEffects(root, fiber, 0, null, !1, 0);
|
|
16513
16508
|
} finally {
|
|
16514
16509
|
setIsStrictModeForDevtools(!1);
|
|
16515
16510
|
}
|
|
@@ -23285,7 +23280,6 @@
|
|
|
23285
23280
|
ProfileMode = 2,
|
|
23286
23281
|
StrictLegacyMode = 8,
|
|
23287
23282
|
StrictEffectsMode = 16,
|
|
23288
|
-
NoStrictPassiveEffectsMode = 64,
|
|
23289
23283
|
SuspenseyImagesMode = 32;
|
|
23290
23284
|
var hasBadMapPolyfill = !1;
|
|
23291
23285
|
try {
|
|
@@ -24916,6 +24910,9 @@
|
|
|
24916
24910
|
cache.data.set(resourceType, cacheForType));
|
|
24917
24911
|
return cacheForType;
|
|
24918
24912
|
},
|
|
24913
|
+
cacheSignal: function () {
|
|
24914
|
+
return readContext(CacheContext).controller.signal;
|
|
24915
|
+
},
|
|
24919
24916
|
getOwner: function () {
|
|
24920
24917
|
return current;
|
|
24921
24918
|
}
|
|
@@ -25542,11 +25539,11 @@
|
|
|
25542
25539
|
};
|
|
25543
25540
|
(function () {
|
|
25544
25541
|
var isomorphicReactPackageVersion = React.version;
|
|
25545
|
-
if ("19.2.0-canary-
|
|
25542
|
+
if ("19.2.0-canary-79d9aed7-20250620" !== isomorphicReactPackageVersion)
|
|
25546
25543
|
throw Error(
|
|
25547
25544
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
25548
25545
|
(isomorphicReactPackageVersion +
|
|
25549
|
-
"\n - react-dom: 19.2.0-canary-
|
|
25546
|
+
"\n - react-dom: 19.2.0-canary-79d9aed7-20250620\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
25550
25547
|
);
|
|
25551
25548
|
})();
|
|
25552
25549
|
("function" === typeof Map &&
|
|
@@ -25583,10 +25580,10 @@
|
|
|
25583
25580
|
!(function () {
|
|
25584
25581
|
var internals = {
|
|
25585
25582
|
bundleType: 1,
|
|
25586
|
-
version: "19.2.0-canary-
|
|
25583
|
+
version: "19.2.0-canary-79d9aed7-20250620",
|
|
25587
25584
|
rendererPackageName: "react-dom",
|
|
25588
25585
|
currentDispatcherRef: ReactSharedInternals,
|
|
25589
|
-
reconcilerVersion: "19.2.0-canary-
|
|
25586
|
+
reconcilerVersion: "19.2.0-canary-79d9aed7-20250620"
|
|
25590
25587
|
};
|
|
25591
25588
|
internals.overrideHookState = overrideHookState;
|
|
25592
25589
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
|
@@ -26054,7 +26051,7 @@
|
|
|
26054
26051
|
exports.useFormStatus = function () {
|
|
26055
26052
|
return resolveDispatcher().useHostTransitionStatus();
|
|
26056
26053
|
};
|
|
26057
|
-
exports.version = "19.2.0-canary-
|
|
26054
|
+
exports.version = "19.2.0-canary-79d9aed7-20250620";
|
|
26058
26055
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
26059
26056
|
"function" ===
|
|
26060
26057
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
|
@@ -11045,6 +11045,9 @@ var DefaultAsyncDispatcher = {
|
|
|
11045
11045
|
((cacheForType = resourceType()),
|
|
11046
11046
|
cache.data.set(resourceType, cacheForType));
|
|
11047
11047
|
return cacheForType;
|
|
11048
|
+
},
|
|
11049
|
+
cacheSignal: function () {
|
|
11050
|
+
return readContext(CacheContext).controller.signal;
|
|
11048
11051
|
}
|
|
11049
11052
|
},
|
|
11050
11053
|
PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map,
|
|
@@ -16411,14 +16414,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
|
16411
16414
|
};
|
|
16412
16415
|
var isomorphicReactPackageVersion$jscomp$inline_1955 = React.version;
|
|
16413
16416
|
if (
|
|
16414
|
-
"19.2.0-canary-
|
|
16417
|
+
"19.2.0-canary-79d9aed7-20250620" !==
|
|
16415
16418
|
isomorphicReactPackageVersion$jscomp$inline_1955
|
|
16416
16419
|
)
|
|
16417
16420
|
throw Error(
|
|
16418
16421
|
formatProdErrorMessage(
|
|
16419
16422
|
527,
|
|
16420
16423
|
isomorphicReactPackageVersion$jscomp$inline_1955,
|
|
16421
|
-
"19.2.0-canary-
|
|
16424
|
+
"19.2.0-canary-79d9aed7-20250620"
|
|
16422
16425
|
)
|
|
16423
16426
|
);
|
|
16424
16427
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
@@ -16440,10 +16443,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
|
16440
16443
|
};
|
|
16441
16444
|
var internals$jscomp$inline_1962 = {
|
|
16442
16445
|
bundleType: 0,
|
|
16443
|
-
version: "19.2.0-canary-
|
|
16446
|
+
version: "19.2.0-canary-79d9aed7-20250620",
|
|
16444
16447
|
rendererPackageName: "react-dom",
|
|
16445
16448
|
currentDispatcherRef: ReactSharedInternals,
|
|
16446
|
-
reconcilerVersion: "19.2.0-canary-
|
|
16449
|
+
reconcilerVersion: "19.2.0-canary-79d9aed7-20250620",
|
|
16447
16450
|
getLaneLabelMap: function () {
|
|
16448
16451
|
for (
|
|
16449
16452
|
var map = new Map(), lane = 1, index$293 = 0;
|
|
@@ -16716,7 +16719,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
|
16716
16719
|
exports.useFormStatus = function () {
|
|
16717
16720
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
|
16718
16721
|
};
|
|
16719
|
-
exports.version = "19.2.0-canary-
|
|
16722
|
+
exports.version = "19.2.0-canary-79d9aed7-20250620";
|
|
16720
16723
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
16721
16724
|
"function" ===
|
|
16722
16725
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
|
@@ -6128,7 +6128,12 @@
|
|
|
6128
6128
|
null !== x &&
|
|
6129
6129
|
(x === SuspenseException || "function" === typeof x.then)
|
|
6130
6130
|
)
|
|
6131
|
-
throw (
|
|
6131
|
+
throw (
|
|
6132
|
+
(task.node === keyOrIndex
|
|
6133
|
+
? (task.replay = replay)
|
|
6134
|
+
: childIndex.splice(i, 1),
|
|
6135
|
+
x)
|
|
6136
|
+
);
|
|
6132
6137
|
task.replay.pendingTasks--;
|
|
6133
6138
|
type = getThrownInfo(task.componentStack);
|
|
6134
6139
|
props = request;
|
|
@@ -6673,7 +6678,8 @@
|
|
|
6673
6678
|
previousComponentStack = task.componentStack,
|
|
6674
6679
|
previousDebugTask = task.debugTask,
|
|
6675
6680
|
segment = task.blockedSegment;
|
|
6676
|
-
if (null === segment)
|
|
6681
|
+
if (null === segment) {
|
|
6682
|
+
segment = task.replay;
|
|
6677
6683
|
try {
|
|
6678
6684
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
6679
6685
|
} catch (thrownValue) {
|
|
@@ -6698,6 +6704,7 @@
|
|
|
6698
6704
|
task.keyPath = previousKeyPath;
|
|
6699
6705
|
task.treeContext = previousTreeContext;
|
|
6700
6706
|
task.componentStack = previousComponentStack;
|
|
6707
|
+
task.replay = segment;
|
|
6701
6708
|
task.debugTask = previousDebugTask;
|
|
6702
6709
|
switchContext(previousContext);
|
|
6703
6710
|
return;
|
|
@@ -6711,13 +6718,14 @@
|
|
|
6711
6718
|
task.keyPath = previousKeyPath;
|
|
6712
6719
|
task.treeContext = previousTreeContext;
|
|
6713
6720
|
task.componentStack = previousComponentStack;
|
|
6721
|
+
task.replay = segment;
|
|
6714
6722
|
task.debugTask = previousDebugTask;
|
|
6715
6723
|
switchContext(previousContext);
|
|
6716
6724
|
return;
|
|
6717
6725
|
}
|
|
6718
6726
|
}
|
|
6719
6727
|
}
|
|
6720
|
-
else {
|
|
6728
|
+
} else {
|
|
6721
6729
|
var childrenLength = segment.children.length,
|
|
6722
6730
|
chunkLength = segment.chunks.length;
|
|
6723
6731
|
try {
|
|
@@ -6734,13 +6742,10 @@
|
|
|
6734
6742
|
"object" === typeof node && null !== node)
|
|
6735
6743
|
) {
|
|
6736
6744
|
if ("function" === typeof node.then) {
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
childIndex
|
|
6742
|
-
).ping;
|
|
6743
|
-
node.then(request, request);
|
|
6745
|
+
segment = node;
|
|
6746
|
+
node = getThenableStateAfterSuspending();
|
|
6747
|
+
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
6748
|
+
segment.then(request, request);
|
|
6744
6749
|
task.formatContext = previousFormatContext;
|
|
6745
6750
|
task.context = previousContext;
|
|
6746
6751
|
task.keyPath = previousKeyPath;
|
|
@@ -6751,9 +6756,9 @@
|
|
|
6751
6756
|
return;
|
|
6752
6757
|
}
|
|
6753
6758
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
6754
|
-
|
|
6755
|
-
|
|
6756
|
-
request.pingedTasks.push(
|
|
6759
|
+
segment = getThenableStateAfterSuspending();
|
|
6760
|
+
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
6761
|
+
request.pingedTasks.push(segment);
|
|
6757
6762
|
task.formatContext = previousFormatContext;
|
|
6758
6763
|
task.context = previousContext;
|
|
6759
6764
|
task.keyPath = previousKeyPath;
|
|
@@ -9570,6 +9575,9 @@
|
|
|
9570
9575
|
getCacheForType: function () {
|
|
9571
9576
|
throw Error("Not implemented.");
|
|
9572
9577
|
},
|
|
9578
|
+
cacheSignal: function () {
|
|
9579
|
+
throw Error("Not implemented.");
|
|
9580
|
+
},
|
|
9573
9581
|
getOwner: function () {
|
|
9574
9582
|
return null === currentTaskInDEV
|
|
9575
9583
|
? null
|
|
@@ -9660,5 +9668,5 @@
|
|
|
9660
9668
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
|
9661
9669
|
);
|
|
9662
9670
|
};
|
|
9663
|
-
exports.version = "19.2.0-canary-
|
|
9671
|
+
exports.version = "19.2.0-canary-79d9aed7-20250620";
|
|
9664
9672
|
})();
|
|
@@ -3399,6 +3399,9 @@ var HooksDispatcher = {
|
|
|
3399
3399
|
DefaultAsyncDispatcher = {
|
|
3400
3400
|
getCacheForType: function () {
|
|
3401
3401
|
throw Error(formatProdErrorMessage(248));
|
|
3402
|
+
},
|
|
3403
|
+
cacheSignal: function () {
|
|
3404
|
+
throw Error(formatProdErrorMessage(248));
|
|
3402
3405
|
}
|
|
3403
3406
|
},
|
|
3404
3407
|
prefix,
|
|
@@ -4785,7 +4788,9 @@ function retryNode(request, task) {
|
|
|
4785
4788
|
"function" === typeof x.then)
|
|
4786
4789
|
)
|
|
4787
4790
|
throw (
|
|
4788
|
-
(task.node === keyOrIndex
|
|
4791
|
+
(task.node === keyOrIndex
|
|
4792
|
+
? (task.replay = replay)
|
|
4793
|
+
: childIndex.splice(node, 1),
|
|
4789
4794
|
x)
|
|
4790
4795
|
);
|
|
4791
4796
|
task.replay.pendingTasks--;
|
|
@@ -5125,7 +5130,8 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5125
5130
|
previousTreeContext = task.treeContext,
|
|
5126
5131
|
previousComponentStack = task.componentStack,
|
|
5127
5132
|
segment = task.blockedSegment;
|
|
5128
|
-
if (null === segment)
|
|
5133
|
+
if (null === segment) {
|
|
5134
|
+
segment = task.replay;
|
|
5129
5135
|
try {
|
|
5130
5136
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
5131
5137
|
} catch (thrownValue) {
|
|
@@ -5146,6 +5152,7 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5146
5152
|
task.keyPath = previousKeyPath;
|
|
5147
5153
|
task.treeContext = previousTreeContext;
|
|
5148
5154
|
task.componentStack = previousComponentStack;
|
|
5155
|
+
task.replay = segment;
|
|
5149
5156
|
switchContext(previousContext);
|
|
5150
5157
|
return;
|
|
5151
5158
|
}
|
|
@@ -5158,12 +5165,13 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5158
5165
|
task.keyPath = previousKeyPath;
|
|
5159
5166
|
task.treeContext = previousTreeContext;
|
|
5160
5167
|
task.componentStack = previousComponentStack;
|
|
5168
|
+
task.replay = segment;
|
|
5161
5169
|
switchContext(previousContext);
|
|
5162
5170
|
return;
|
|
5163
5171
|
}
|
|
5164
5172
|
}
|
|
5165
5173
|
}
|
|
5166
|
-
else {
|
|
5174
|
+
} else {
|
|
5167
5175
|
var childrenLength = segment.children.length,
|
|
5168
5176
|
chunkLength = segment.chunks.length;
|
|
5169
5177
|
try {
|
|
@@ -5180,9 +5188,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5180
5188
|
"object" === typeof node && null !== node)
|
|
5181
5189
|
) {
|
|
5182
5190
|
if ("function" === typeof node.then) {
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5191
|
+
segment = node;
|
|
5192
|
+
node = getThenableStateAfterSuspending();
|
|
5193
|
+
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
5194
|
+
segment.then(request, request);
|
|
5186
5195
|
task.formatContext = previousFormatContext;
|
|
5187
5196
|
task.context = previousContext;
|
|
5188
5197
|
task.keyPath = previousKeyPath;
|
|
@@ -5192,9 +5201,9 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5192
5201
|
return;
|
|
5193
5202
|
}
|
|
5194
5203
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
request.pingedTasks.push(
|
|
5204
|
+
segment = getThenableStateAfterSuspending();
|
|
5205
|
+
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
5206
|
+
request.pingedTasks.push(segment);
|
|
5198
5207
|
task.formatContext = previousFormatContext;
|
|
5199
5208
|
task.context = previousContext;
|
|
5200
5209
|
task.keyPath = previousKeyPath;
|
|
@@ -6423,4 +6432,4 @@ exports.renderToString = function (children, options) {
|
|
|
6423
6432
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
|
6424
6433
|
);
|
|
6425
6434
|
};
|
|
6426
|
-
exports.version = "19.2.0-canary-
|
|
6435
|
+
exports.version = "19.2.0-canary-79d9aed7-20250620";
|
|
@@ -6128,7 +6128,12 @@
|
|
|
6128
6128
|
null !== x &&
|
|
6129
6129
|
(x === SuspenseException || "function" === typeof x.then)
|
|
6130
6130
|
)
|
|
6131
|
-
throw (
|
|
6131
|
+
throw (
|
|
6132
|
+
(task.node === keyOrIndex
|
|
6133
|
+
? (task.replay = replay)
|
|
6134
|
+
: childIndex.splice(i, 1),
|
|
6135
|
+
x)
|
|
6136
|
+
);
|
|
6132
6137
|
task.replay.pendingTasks--;
|
|
6133
6138
|
type = getThrownInfo(task.componentStack);
|
|
6134
6139
|
props = request;
|
|
@@ -6673,7 +6678,8 @@
|
|
|
6673
6678
|
previousComponentStack = task.componentStack,
|
|
6674
6679
|
previousDebugTask = task.debugTask,
|
|
6675
6680
|
segment = task.blockedSegment;
|
|
6676
|
-
if (null === segment)
|
|
6681
|
+
if (null === segment) {
|
|
6682
|
+
segment = task.replay;
|
|
6677
6683
|
try {
|
|
6678
6684
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
6679
6685
|
} catch (thrownValue) {
|
|
@@ -6698,6 +6704,7 @@
|
|
|
6698
6704
|
task.keyPath = previousKeyPath;
|
|
6699
6705
|
task.treeContext = previousTreeContext;
|
|
6700
6706
|
task.componentStack = previousComponentStack;
|
|
6707
|
+
task.replay = segment;
|
|
6701
6708
|
task.debugTask = previousDebugTask;
|
|
6702
6709
|
switchContext(previousContext);
|
|
6703
6710
|
return;
|
|
@@ -6711,13 +6718,14 @@
|
|
|
6711
6718
|
task.keyPath = previousKeyPath;
|
|
6712
6719
|
task.treeContext = previousTreeContext;
|
|
6713
6720
|
task.componentStack = previousComponentStack;
|
|
6721
|
+
task.replay = segment;
|
|
6714
6722
|
task.debugTask = previousDebugTask;
|
|
6715
6723
|
switchContext(previousContext);
|
|
6716
6724
|
return;
|
|
6717
6725
|
}
|
|
6718
6726
|
}
|
|
6719
6727
|
}
|
|
6720
|
-
else {
|
|
6728
|
+
} else {
|
|
6721
6729
|
var childrenLength = segment.children.length,
|
|
6722
6730
|
chunkLength = segment.chunks.length;
|
|
6723
6731
|
try {
|
|
@@ -6734,13 +6742,10 @@
|
|
|
6734
6742
|
"object" === typeof node && null !== node)
|
|
6735
6743
|
) {
|
|
6736
6744
|
if ("function" === typeof node.then) {
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
childIndex
|
|
6742
|
-
).ping;
|
|
6743
|
-
node.then(request, request);
|
|
6745
|
+
segment = node;
|
|
6746
|
+
node = getThenableStateAfterSuspending();
|
|
6747
|
+
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
6748
|
+
segment.then(request, request);
|
|
6744
6749
|
task.formatContext = previousFormatContext;
|
|
6745
6750
|
task.context = previousContext;
|
|
6746
6751
|
task.keyPath = previousKeyPath;
|
|
@@ -6751,9 +6756,9 @@
|
|
|
6751
6756
|
return;
|
|
6752
6757
|
}
|
|
6753
6758
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
6754
|
-
|
|
6755
|
-
|
|
6756
|
-
request.pingedTasks.push(
|
|
6759
|
+
segment = getThenableStateAfterSuspending();
|
|
6760
|
+
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
6761
|
+
request.pingedTasks.push(segment);
|
|
6757
6762
|
task.formatContext = previousFormatContext;
|
|
6758
6763
|
task.context = previousContext;
|
|
6759
6764
|
task.keyPath = previousKeyPath;
|
|
@@ -9570,6 +9575,9 @@
|
|
|
9570
9575
|
getCacheForType: function () {
|
|
9571
9576
|
throw Error("Not implemented.");
|
|
9572
9577
|
},
|
|
9578
|
+
cacheSignal: function () {
|
|
9579
|
+
throw Error("Not implemented.");
|
|
9580
|
+
},
|
|
9573
9581
|
getOwner: function () {
|
|
9574
9582
|
return null === currentTaskInDEV
|
|
9575
9583
|
? null
|
|
@@ -9660,5 +9668,5 @@
|
|
|
9660
9668
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
|
9661
9669
|
);
|
|
9662
9670
|
};
|
|
9663
|
-
exports.version = "19.2.0-canary-
|
|
9671
|
+
exports.version = "19.2.0-canary-79d9aed7-20250620";
|
|
9664
9672
|
})();
|
|
@@ -3446,6 +3446,9 @@ var HooksDispatcher = {
|
|
|
3446
3446
|
DefaultAsyncDispatcher = {
|
|
3447
3447
|
getCacheForType: function () {
|
|
3448
3448
|
throw Error("Not implemented.");
|
|
3449
|
+
},
|
|
3450
|
+
cacheSignal: function () {
|
|
3451
|
+
throw Error("Not implemented.");
|
|
3449
3452
|
}
|
|
3450
3453
|
},
|
|
3451
3454
|
prefix,
|
|
@@ -4842,7 +4845,9 @@ function retryNode(request, task) {
|
|
|
4842
4845
|
"function" === typeof x.then)
|
|
4843
4846
|
)
|
|
4844
4847
|
throw (
|
|
4845
|
-
(task.node === keyOrIndex
|
|
4848
|
+
(task.node === keyOrIndex
|
|
4849
|
+
? (task.replay = replay)
|
|
4850
|
+
: childIndex.splice(node, 1),
|
|
4846
4851
|
x)
|
|
4847
4852
|
);
|
|
4848
4853
|
task.replay.pendingTasks--;
|
|
@@ -5185,7 +5190,8 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5185
5190
|
previousTreeContext = task.treeContext,
|
|
5186
5191
|
previousComponentStack = task.componentStack,
|
|
5187
5192
|
segment = task.blockedSegment;
|
|
5188
|
-
if (null === segment)
|
|
5193
|
+
if (null === segment) {
|
|
5194
|
+
segment = task.replay;
|
|
5189
5195
|
try {
|
|
5190
5196
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
5191
5197
|
} catch (thrownValue) {
|
|
@@ -5206,6 +5212,7 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5206
5212
|
task.keyPath = previousKeyPath;
|
|
5207
5213
|
task.treeContext = previousTreeContext;
|
|
5208
5214
|
task.componentStack = previousComponentStack;
|
|
5215
|
+
task.replay = segment;
|
|
5209
5216
|
switchContext(previousContext);
|
|
5210
5217
|
return;
|
|
5211
5218
|
}
|
|
@@ -5218,12 +5225,13 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5218
5225
|
task.keyPath = previousKeyPath;
|
|
5219
5226
|
task.treeContext = previousTreeContext;
|
|
5220
5227
|
task.componentStack = previousComponentStack;
|
|
5228
|
+
task.replay = segment;
|
|
5221
5229
|
switchContext(previousContext);
|
|
5222
5230
|
return;
|
|
5223
5231
|
}
|
|
5224
5232
|
}
|
|
5225
5233
|
}
|
|
5226
|
-
else {
|
|
5234
|
+
} else {
|
|
5227
5235
|
var childrenLength = segment.children.length,
|
|
5228
5236
|
chunkLength = segment.chunks.length;
|
|
5229
5237
|
try {
|
|
@@ -5240,9 +5248,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5240
5248
|
"object" === typeof node && null !== node)
|
|
5241
5249
|
) {
|
|
5242
5250
|
if ("function" === typeof node.then) {
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5251
|
+
segment = node;
|
|
5252
|
+
node = getThenableStateAfterSuspending();
|
|
5253
|
+
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
5254
|
+
segment.then(request, request);
|
|
5246
5255
|
task.formatContext = previousFormatContext;
|
|
5247
5256
|
task.context = previousContext;
|
|
5248
5257
|
task.keyPath = previousKeyPath;
|
|
@@ -5252,9 +5261,9 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5252
5261
|
return;
|
|
5253
5262
|
}
|
|
5254
5263
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
request.pingedTasks.push(
|
|
5264
|
+
segment = getThenableStateAfterSuspending();
|
|
5265
|
+
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
5266
|
+
request.pingedTasks.push(segment);
|
|
5258
5267
|
task.formatContext = previousFormatContext;
|
|
5259
5268
|
task.context = previousContext;
|
|
5260
5269
|
task.keyPath = previousKeyPath;
|
|
@@ -6506,4 +6515,4 @@ exports.renderToString = function (children, options) {
|
|
|
6506
6515
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
|
6507
6516
|
);
|
|
6508
6517
|
};
|
|
6509
|
-
exports.version = "19.2.0-canary-
|
|
6518
|
+
exports.version = "19.2.0-canary-79d9aed7-20250620";
|