react-dom 19.2.0-canary-223f81d8-20250707 → 19.2.0-canary-befc1246-20250708
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 +13 -9
- package/cjs/react-dom-client.production.js +13 -9
- package/cjs/react-dom-profiling.development.js +13 -9
- package/cjs/react-dom-profiling.profiling.js +13 -9
- package/cjs/react-dom-server-legacy.browser.development.js +40 -26
- package/cjs/react-dom-server-legacy.browser.production.js +55 -44
- package/cjs/react-dom-server-legacy.node.development.js +40 -26
- package/cjs/react-dom-server-legacy.node.production.js +55 -44
- package/cjs/react-dom-server.browser.development.js +40 -28
- package/cjs/react-dom-server.browser.production.js +55 -46
- package/cjs/react-dom-server.bun.development.js +46 -31
- package/cjs/react-dom-server.bun.production.js +61 -49
- package/cjs/react-dom-server.edge.development.js +40 -28
- package/cjs/react-dom-server.edge.production.js +55 -46
- package/cjs/react-dom-server.node.development.js +40 -28
- package/cjs/react-dom-server.node.production.js +55 -46
- 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
@@ -725,7 +725,7 @@
|
|
725
725
|
"function" === typeof fn && componentFrameCache.set(fn, sampleLines);
|
726
726
|
return sampleLines;
|
727
727
|
}
|
728
|
-
function describeFiber(fiber) {
|
728
|
+
function describeFiber(fiber, childFiber) {
|
729
729
|
switch (fiber.tag) {
|
730
730
|
case 26:
|
731
731
|
case 27:
|
@@ -734,7 +734,9 @@
|
|
734
734
|
case 16:
|
735
735
|
return describeBuiltInComponentFrame("Lazy");
|
736
736
|
case 13:
|
737
|
-
return
|
737
|
+
return fiber.child !== childFiber && null !== childFiber
|
738
|
+
? describeBuiltInComponentFrame("Suspense Fallback")
|
739
|
+
: describeBuiltInComponentFrame("Suspense");
|
738
740
|
case 19:
|
739
741
|
return describeBuiltInComponentFrame("SuspenseList");
|
740
742
|
case 0:
|
@@ -752,9 +754,10 @@
|
|
752
754
|
}
|
753
755
|
function getStackByFiberInDevAndProd(workInProgress) {
|
754
756
|
try {
|
755
|
-
var info = ""
|
757
|
+
var info = "",
|
758
|
+
previous = null;
|
756
759
|
do {
|
757
|
-
info += describeFiber(workInProgress);
|
760
|
+
info += describeFiber(workInProgress, previous);
|
758
761
|
var debugInfo = workInProgress._debugInfo;
|
759
762
|
if (debugInfo)
|
760
763
|
for (var i = debugInfo.length - 1; 0 <= i; i--) {
|
@@ -782,6 +785,7 @@
|
|
782
785
|
info = JSCompiler_temp_const + JSCompiler_inline_result;
|
783
786
|
}
|
784
787
|
}
|
788
|
+
previous = workInProgress;
|
785
789
|
workInProgress = workInProgress.return;
|
786
790
|
} while (workInProgress);
|
787
791
|
return info;
|
@@ -25503,11 +25507,11 @@
|
|
25503
25507
|
};
|
25504
25508
|
(function () {
|
25505
25509
|
var isomorphicReactPackageVersion = React.version;
|
25506
|
-
if ("19.2.0-canary-
|
25510
|
+
if ("19.2.0-canary-befc1246-20250708" !== isomorphicReactPackageVersion)
|
25507
25511
|
throw Error(
|
25508
25512
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
25509
25513
|
(isomorphicReactPackageVersion +
|
25510
|
-
"\n - react-dom: 19.2.0-canary-
|
25514
|
+
"\n - react-dom: 19.2.0-canary-befc1246-20250708\nLearn more: https://react.dev/warnings/version-mismatch")
|
25511
25515
|
);
|
25512
25516
|
})();
|
25513
25517
|
("function" === typeof Map &&
|
@@ -25544,10 +25548,10 @@
|
|
25544
25548
|
!(function () {
|
25545
25549
|
var internals = {
|
25546
25550
|
bundleType: 1,
|
25547
|
-
version: "19.2.0-canary-
|
25551
|
+
version: "19.2.0-canary-befc1246-20250708",
|
25548
25552
|
rendererPackageName: "react-dom",
|
25549
25553
|
currentDispatcherRef: ReactSharedInternals,
|
25550
|
-
reconcilerVersion: "19.2.0-canary-
|
25554
|
+
reconcilerVersion: "19.2.0-canary-befc1246-20250708"
|
25551
25555
|
};
|
25552
25556
|
internals.overrideHookState = overrideHookState;
|
25553
25557
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25685,7 +25689,7 @@
|
|
25685
25689
|
listenToAllSupportedEvents(container);
|
25686
25690
|
return new ReactDOMHydrationRoot(initialChildren);
|
25687
25691
|
};
|
25688
|
-
exports.version = "19.2.0-canary-
|
25692
|
+
exports.version = "19.2.0-canary-befc1246-20250708";
|
25689
25693
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25690
25694
|
"function" ===
|
25691
25695
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
@@ -468,7 +468,7 @@ function describeNativeComponentFrame(fn, construct) {
|
|
468
468
|
? describeBuiltInComponentFrame(previousPrepareStackTrace)
|
469
469
|
: "";
|
470
470
|
}
|
471
|
-
function describeFiber(fiber) {
|
471
|
+
function describeFiber(fiber, childFiber) {
|
472
472
|
switch (fiber.tag) {
|
473
473
|
case 26:
|
474
474
|
case 27:
|
@@ -477,7 +477,9 @@ function describeFiber(fiber) {
|
|
477
477
|
case 16:
|
478
478
|
return describeBuiltInComponentFrame("Lazy");
|
479
479
|
case 13:
|
480
|
-
return
|
480
|
+
return fiber.child !== childFiber && null !== childFiber
|
481
|
+
? describeBuiltInComponentFrame("Suspense Fallback")
|
482
|
+
: describeBuiltInComponentFrame("Suspense");
|
481
483
|
case 19:
|
482
484
|
return describeBuiltInComponentFrame("SuspenseList");
|
483
485
|
case 0:
|
@@ -495,9 +497,11 @@ function describeFiber(fiber) {
|
|
495
497
|
}
|
496
498
|
function getStackByFiberInDevAndProd(workInProgress) {
|
497
499
|
try {
|
498
|
-
var info = ""
|
500
|
+
var info = "",
|
501
|
+
previous = null;
|
499
502
|
do
|
500
|
-
(info += describeFiber(workInProgress)),
|
503
|
+
(info += describeFiber(workInProgress, previous)),
|
504
|
+
(previous = workInProgress),
|
501
505
|
(workInProgress = workInProgress.return);
|
502
506
|
while (workInProgress);
|
503
507
|
return info;
|
@@ -15712,14 +15716,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15712
15716
|
};
|
15713
15717
|
var isomorphicReactPackageVersion$jscomp$inline_1838 = React.version;
|
15714
15718
|
if (
|
15715
|
-
"19.2.0-canary-
|
15719
|
+
"19.2.0-canary-befc1246-20250708" !==
|
15716
15720
|
isomorphicReactPackageVersion$jscomp$inline_1838
|
15717
15721
|
)
|
15718
15722
|
throw Error(
|
15719
15723
|
formatProdErrorMessage(
|
15720
15724
|
527,
|
15721
15725
|
isomorphicReactPackageVersion$jscomp$inline_1838,
|
15722
|
-
"19.2.0-canary-
|
15726
|
+
"19.2.0-canary-befc1246-20250708"
|
15723
15727
|
)
|
15724
15728
|
);
|
15725
15729
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15741,10 +15745,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15741
15745
|
};
|
15742
15746
|
var internals$jscomp$inline_2331 = {
|
15743
15747
|
bundleType: 0,
|
15744
|
-
version: "19.2.0-canary-
|
15748
|
+
version: "19.2.0-canary-befc1246-20250708",
|
15745
15749
|
rendererPackageName: "react-dom",
|
15746
15750
|
currentDispatcherRef: ReactSharedInternals,
|
15747
|
-
reconcilerVersion: "19.2.0-canary-
|
15751
|
+
reconcilerVersion: "19.2.0-canary-befc1246-20250708"
|
15748
15752
|
};
|
15749
15753
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
15750
15754
|
var hook$jscomp$inline_2332 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
@@ -15842,4 +15846,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
15842
15846
|
listenToAllSupportedEvents(container);
|
15843
15847
|
return new ReactDOMHydrationRoot(initialChildren);
|
15844
15848
|
};
|
15845
|
-
exports.version = "19.2.0-canary-
|
15849
|
+
exports.version = "19.2.0-canary-befc1246-20250708";
|
@@ -733,7 +733,7 @@
|
|
733
733
|
"function" === typeof fn && componentFrameCache.set(fn, sampleLines);
|
734
734
|
return sampleLines;
|
735
735
|
}
|
736
|
-
function describeFiber(fiber) {
|
736
|
+
function describeFiber(fiber, childFiber) {
|
737
737
|
switch (fiber.tag) {
|
738
738
|
case 26:
|
739
739
|
case 27:
|
@@ -742,7 +742,9 @@
|
|
742
742
|
case 16:
|
743
743
|
return describeBuiltInComponentFrame("Lazy");
|
744
744
|
case 13:
|
745
|
-
return
|
745
|
+
return fiber.child !== childFiber && null !== childFiber
|
746
|
+
? describeBuiltInComponentFrame("Suspense Fallback")
|
747
|
+
: describeBuiltInComponentFrame("Suspense");
|
746
748
|
case 19:
|
747
749
|
return describeBuiltInComponentFrame("SuspenseList");
|
748
750
|
case 0:
|
@@ -760,9 +762,10 @@
|
|
760
762
|
}
|
761
763
|
function getStackByFiberInDevAndProd(workInProgress) {
|
762
764
|
try {
|
763
|
-
var info = ""
|
765
|
+
var info = "",
|
766
|
+
previous = null;
|
764
767
|
do {
|
765
|
-
info += describeFiber(workInProgress);
|
768
|
+
info += describeFiber(workInProgress, previous);
|
766
769
|
var debugInfo = workInProgress._debugInfo;
|
767
770
|
if (debugInfo)
|
768
771
|
for (var i = debugInfo.length - 1; 0 <= i; i--) {
|
@@ -790,6 +793,7 @@
|
|
790
793
|
info = JSCompiler_temp_const + JSCompiler_inline_result;
|
791
794
|
}
|
792
795
|
}
|
796
|
+
previous = workInProgress;
|
793
797
|
workInProgress = workInProgress.return;
|
794
798
|
} while (workInProgress);
|
795
799
|
return info;
|
@@ -25555,11 +25559,11 @@
|
|
25555
25559
|
};
|
25556
25560
|
(function () {
|
25557
25561
|
var isomorphicReactPackageVersion = React.version;
|
25558
|
-
if ("19.2.0-canary-
|
25562
|
+
if ("19.2.0-canary-befc1246-20250708" !== isomorphicReactPackageVersion)
|
25559
25563
|
throw Error(
|
25560
25564
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
25561
25565
|
(isomorphicReactPackageVersion +
|
25562
|
-
"\n - react-dom: 19.2.0-canary-
|
25566
|
+
"\n - react-dom: 19.2.0-canary-befc1246-20250708\nLearn more: https://react.dev/warnings/version-mismatch")
|
25563
25567
|
);
|
25564
25568
|
})();
|
25565
25569
|
("function" === typeof Map &&
|
@@ -25596,10 +25600,10 @@
|
|
25596
25600
|
!(function () {
|
25597
25601
|
var internals = {
|
25598
25602
|
bundleType: 1,
|
25599
|
-
version: "19.2.0-canary-
|
25603
|
+
version: "19.2.0-canary-befc1246-20250708",
|
25600
25604
|
rendererPackageName: "react-dom",
|
25601
25605
|
currentDispatcherRef: ReactSharedInternals,
|
25602
|
-
reconcilerVersion: "19.2.0-canary-
|
25606
|
+
reconcilerVersion: "19.2.0-canary-befc1246-20250708"
|
25603
25607
|
};
|
25604
25608
|
internals.overrideHookState = overrideHookState;
|
25605
25609
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -26067,7 +26071,7 @@
|
|
26067
26071
|
exports.useFormStatus = function () {
|
26068
26072
|
return resolveDispatcher().useHostTransitionStatus();
|
26069
26073
|
};
|
26070
|
-
exports.version = "19.2.0-canary-
|
26074
|
+
exports.version = "19.2.0-canary-befc1246-20250708";
|
26071
26075
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
26072
26076
|
"function" ===
|
26073
26077
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
@@ -472,7 +472,7 @@ function describeNativeComponentFrame(fn, construct) {
|
|
472
472
|
? describeBuiltInComponentFrame(previousPrepareStackTrace)
|
473
473
|
: "";
|
474
474
|
}
|
475
|
-
function describeFiber(fiber) {
|
475
|
+
function describeFiber(fiber, childFiber) {
|
476
476
|
switch (fiber.tag) {
|
477
477
|
case 26:
|
478
478
|
case 27:
|
@@ -481,7 +481,9 @@ function describeFiber(fiber) {
|
|
481
481
|
case 16:
|
482
482
|
return describeBuiltInComponentFrame("Lazy");
|
483
483
|
case 13:
|
484
|
-
return
|
484
|
+
return fiber.child !== childFiber && null !== childFiber
|
485
|
+
? describeBuiltInComponentFrame("Suspense Fallback")
|
486
|
+
: describeBuiltInComponentFrame("Suspense");
|
485
487
|
case 19:
|
486
488
|
return describeBuiltInComponentFrame("SuspenseList");
|
487
489
|
case 0:
|
@@ -499,9 +501,11 @@ function describeFiber(fiber) {
|
|
499
501
|
}
|
500
502
|
function getStackByFiberInDevAndProd(workInProgress) {
|
501
503
|
try {
|
502
|
-
var info = ""
|
504
|
+
var info = "",
|
505
|
+
previous = null;
|
503
506
|
do
|
504
|
-
(info += describeFiber(workInProgress)),
|
507
|
+
(info += describeFiber(workInProgress, previous)),
|
508
|
+
(previous = workInProgress),
|
505
509
|
(workInProgress = workInProgress.return);
|
506
510
|
while (workInProgress);
|
507
511
|
return info;
|
@@ -16413,14 +16417,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
16413
16417
|
};
|
16414
16418
|
var isomorphicReactPackageVersion$jscomp$inline_1942 = React.version;
|
16415
16419
|
if (
|
16416
|
-
"19.2.0-canary-
|
16420
|
+
"19.2.0-canary-befc1246-20250708" !==
|
16417
16421
|
isomorphicReactPackageVersion$jscomp$inline_1942
|
16418
16422
|
)
|
16419
16423
|
throw Error(
|
16420
16424
|
formatProdErrorMessage(
|
16421
16425
|
527,
|
16422
16426
|
isomorphicReactPackageVersion$jscomp$inline_1942,
|
16423
|
-
"19.2.0-canary-
|
16427
|
+
"19.2.0-canary-befc1246-20250708"
|
16424
16428
|
)
|
16425
16429
|
);
|
16426
16430
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -16442,10 +16446,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
16442
16446
|
};
|
16443
16447
|
var internals$jscomp$inline_1949 = {
|
16444
16448
|
bundleType: 0,
|
16445
|
-
version: "19.2.0-canary-
|
16449
|
+
version: "19.2.0-canary-befc1246-20250708",
|
16446
16450
|
rendererPackageName: "react-dom",
|
16447
16451
|
currentDispatcherRef: ReactSharedInternals,
|
16448
|
-
reconcilerVersion: "19.2.0-canary-
|
16452
|
+
reconcilerVersion: "19.2.0-canary-befc1246-20250708",
|
16449
16453
|
getLaneLabelMap: function () {
|
16450
16454
|
for (
|
16451
16455
|
var map = new Map(), lane = 1, index$281 = 0;
|
@@ -16718,7 +16722,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
16718
16722
|
exports.useFormStatus = function () {
|
16719
16723
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
16720
16724
|
};
|
16721
|
-
exports.version = "19.2.0-canary-
|
16725
|
+
exports.version = "19.2.0-canary-befc1246-20250708";
|
16722
16726
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
16723
16727
|
"function" ===
|
16724
16728
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
@@ -4727,6 +4727,18 @@
|
|
4727
4727
|
pushServerComponentStack(task, node._debugInfo);
|
4728
4728
|
}
|
4729
4729
|
}
|
4730
|
+
function replaceSuspenseComponentStackWithSuspenseFallbackStack(
|
4731
|
+
componentStack
|
4732
|
+
) {
|
4733
|
+
return null === componentStack
|
4734
|
+
? null
|
4735
|
+
: {
|
4736
|
+
parent: componentStack.parent,
|
4737
|
+
type: "Suspense Fallback",
|
4738
|
+
owner: componentStack.owner,
|
4739
|
+
stack: componentStack.stack
|
4740
|
+
};
|
4741
|
+
}
|
4730
4742
|
function getThrownInfo(node$jscomp$0) {
|
4731
4743
|
var errorInfo = {};
|
4732
4744
|
node$jscomp$0 &&
|
@@ -5550,27 +5562,20 @@
|
|
5550
5562
|
!1
|
5551
5563
|
);
|
5552
5564
|
segment.preambleChildren.push(preambleSegment);
|
5553
|
-
|
5554
|
-
|
5555
|
-
|
5556
|
-
|
5557
|
-
|
5558
|
-
|
5559
|
-
|
5560
|
-
|
5561
|
-
|
5562
|
-
|
5563
|
-
|
5564
|
-
|
5565
|
-
task.
|
5566
|
-
|
5567
|
-
task.row,
|
5568
|
-
task.componentStack,
|
5569
|
-
emptyContextObject,
|
5570
|
-
task.debugTask
|
5571
|
-
);
|
5572
|
-
pushComponentStack(preambleTask);
|
5573
|
-
request.pingedTasks.push(preambleTask);
|
5565
|
+
task.blockedSegment = preambleSegment;
|
5566
|
+
try {
|
5567
|
+
(preambleSegment.status = 6),
|
5568
|
+
renderNode(request, task, _children, -1),
|
5569
|
+
pushSegmentFinale(
|
5570
|
+
preambleSegment.chunks,
|
5571
|
+
request.renderState,
|
5572
|
+
preambleSegment.lastPushedText,
|
5573
|
+
preambleSegment.textEmbedded
|
5574
|
+
),
|
5575
|
+
(preambleSegment.status = COMPLETED);
|
5576
|
+
} finally {
|
5577
|
+
task.blockedSegment = segment;
|
5578
|
+
}
|
5574
5579
|
} else renderNode(request, task, _children, -1);
|
5575
5580
|
task.formatContext = _prevContext2;
|
5576
5581
|
task.keyPath = _prevKeyPath3;
|
@@ -5783,7 +5788,8 @@
|
|
5783
5788
|
);
|
5784
5789
|
contentRootSegment.parentFlushed = !0;
|
5785
5790
|
if (null !== request.trackedPostpones) {
|
5786
|
-
var
|
5791
|
+
var suspenseComponentStack = task.componentStack,
|
5792
|
+
fallbackKeyPath = [
|
5787
5793
|
keyPath[0],
|
5788
5794
|
"Suspense Fallback",
|
5789
5795
|
keyPath[2]
|
@@ -5806,6 +5812,10 @@
|
|
5806
5812
|
request.resumableState,
|
5807
5813
|
prevContext$jscomp$0
|
5808
5814
|
);
|
5815
|
+
task.componentStack =
|
5816
|
+
replaceSuspenseComponentStackWithSuspenseFallbackStack(
|
5817
|
+
suspenseComponentStack
|
5818
|
+
);
|
5809
5819
|
boundarySegment.status = 6;
|
5810
5820
|
try {
|
5811
5821
|
renderNode(request, task, fallback, -1),
|
@@ -5846,7 +5856,7 @@
|
|
5846
5856
|
task.context,
|
5847
5857
|
task.treeContext,
|
5848
5858
|
null,
|
5849
|
-
|
5859
|
+
suspenseComponentStack,
|
5850
5860
|
emptyContextObject,
|
5851
5861
|
task.debugTask
|
5852
5862
|
);
|
@@ -5944,7 +5954,9 @@
|
|
5944
5954
|
task.context,
|
5945
5955
|
task.treeContext,
|
5946
5956
|
task.row,
|
5947
|
-
|
5957
|
+
replaceSuspenseComponentStackWithSuspenseFallbackStack(
|
5958
|
+
task.componentStack
|
5959
|
+
),
|
5948
5960
|
emptyContextObject,
|
5949
5961
|
task.debugTask
|
5950
5962
|
);
|
@@ -6260,7 +6272,9 @@
|
|
6260
6272
|
task.context,
|
6261
6273
|
task.treeContext,
|
6262
6274
|
task.row,
|
6263
|
-
|
6275
|
+
replaceSuspenseComponentStackWithSuspenseFallbackStack(
|
6276
|
+
task.componentStack
|
6277
|
+
),
|
6264
6278
|
emptyContextObject,
|
6265
6279
|
task.debugTask
|
6266
6280
|
);
|
@@ -9687,5 +9701,5 @@
|
|
9687
9701
|
'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'
|
9688
9702
|
);
|
9689
9703
|
};
|
9690
|
-
exports.version = "19.2.0-canary-
|
9704
|
+
exports.version = "19.2.0-canary-befc1246-20250708";
|
9691
9705
|
})();
|
@@ -3901,6 +3901,13 @@ function pushComponentStack(task) {
|
|
3901
3901
|
task.componentStack = { parent: task.componentStack, type: node.type };
|
3902
3902
|
}
|
3903
3903
|
}
|
3904
|
+
function replaceSuspenseComponentStackWithSuspenseFallbackStack(
|
3905
|
+
componentStack
|
3906
|
+
) {
|
3907
|
+
return null === componentStack
|
3908
|
+
? null
|
3909
|
+
: { parent: componentStack.parent, type: "Suspense Fallback" };
|
3910
|
+
}
|
3904
3911
|
function getThrownInfo(node$jscomp$0) {
|
3905
3912
|
var errorInfo = {};
|
3906
3913
|
node$jscomp$0 &&
|
@@ -4280,7 +4287,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4280
4287
|
(task.formatContext = defaultProps),
|
4281
4288
|
(task.keyPath = initialState);
|
4282
4289
|
else {
|
4283
|
-
|
4290
|
+
initialState = pushStartInstance(
|
4284
4291
|
newProps.chunks,
|
4285
4292
|
type,
|
4286
4293
|
props,
|
@@ -4293,42 +4300,39 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4293
4300
|
);
|
4294
4301
|
newProps.lastPushedText = !1;
|
4295
4302
|
defaultProps = task.formatContext;
|
4296
|
-
|
4303
|
+
ref = task.keyPath;
|
4297
4304
|
task.keyPath = keyPath;
|
4298
|
-
|
4299
|
-
|
4300
|
-
.
|
4301
|
-
|
4302
|
-
|
4303
|
-
|
4304
|
-
|
4305
|
-
|
4306
|
-
|
4307
|
-
|
4308
|
-
|
4309
|
-
|
4310
|
-
|
4311
|
-
|
4312
|
-
|
4313
|
-
|
4314
|
-
|
4315
|
-
task
|
4316
|
-
|
4317
|
-
|
4318
|
-
|
4319
|
-
|
4320
|
-
|
4321
|
-
|
4322
|
-
|
4323
|
-
|
4324
|
-
|
4325
|
-
|
4326
|
-
|
4327
|
-
pushComponentStack(keyPath),
|
4328
|
-
request.pingedTasks.push(keyPath))
|
4329
|
-
: renderNode(request, task, ref, -1);
|
4305
|
+
if (
|
4306
|
+
3 ===
|
4307
|
+
(task.formatContext = getChildFormatContext(defaultProps, type, props))
|
4308
|
+
.insertionMode
|
4309
|
+
) {
|
4310
|
+
keyPath = createPendingSegment(
|
4311
|
+
request,
|
4312
|
+
0,
|
4313
|
+
null,
|
4314
|
+
task.formatContext,
|
4315
|
+
!1,
|
4316
|
+
!1
|
4317
|
+
);
|
4318
|
+
newProps.preambleChildren.push(keyPath);
|
4319
|
+
task.blockedSegment = keyPath;
|
4320
|
+
try {
|
4321
|
+
(keyPath.status = 6),
|
4322
|
+
renderNode(request, task, initialState, -1),
|
4323
|
+
pushSegmentFinale(
|
4324
|
+
keyPath.chunks,
|
4325
|
+
request.renderState,
|
4326
|
+
keyPath.lastPushedText,
|
4327
|
+
keyPath.textEmbedded
|
4328
|
+
),
|
4329
|
+
(keyPath.status = 1);
|
4330
|
+
} finally {
|
4331
|
+
task.blockedSegment = newProps;
|
4332
|
+
}
|
4333
|
+
} else renderNode(request, task, initialState, -1);
|
4330
4334
|
task.formatContext = defaultProps;
|
4331
|
-
task.keyPath =
|
4335
|
+
task.keyPath = ref;
|
4332
4336
|
a: {
|
4333
4337
|
task = newProps.chunks;
|
4334
4338
|
request = request.resumableState;
|
@@ -4509,17 +4513,20 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4509
4513
|
);
|
4510
4514
|
contentRootSegment.parentFlushed = !0;
|
4511
4515
|
if (null !== request.trackedPostpones) {
|
4512
|
-
newProps =
|
4513
|
-
defaultProps = [
|
4514
|
-
|
4515
|
-
|
4516
|
+
newProps = task.componentStack;
|
4517
|
+
defaultProps = [keyPath[0], "Suspense Fallback", keyPath[2]];
|
4518
|
+
initialState = [defaultProps[1], defaultProps[2], [], null];
|
4519
|
+
request.trackedPostpones.workingMap.set(defaultProps, initialState);
|
4520
|
+
newBoundary.trackedFallbackNode = initialState;
|
4516
4521
|
task.blockedSegment = boundarySegment;
|
4517
4522
|
task.blockedPreamble = newBoundary.fallbackPreamble;
|
4518
|
-
task.keyPath =
|
4523
|
+
task.keyPath = defaultProps;
|
4519
4524
|
task.formatContext = getSuspenseFallbackFormatContext(
|
4520
4525
|
request.resumableState,
|
4521
4526
|
ref
|
4522
4527
|
);
|
4528
|
+
task.componentStack =
|
4529
|
+
replaceSuspenseComponentStackWithSuspenseFallbackStack(newProps);
|
4523
4530
|
boundarySegment.status = 6;
|
4524
4531
|
try {
|
4525
4532
|
renderNode(request, task, fallback, -1),
|
@@ -4559,7 +4566,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4559
4566
|
task.context,
|
4560
4567
|
task.treeContext,
|
4561
4568
|
null,
|
4562
|
-
|
4569
|
+
newProps
|
4563
4570
|
);
|
4564
4571
|
pushComponentStack(task);
|
4565
4572
|
request.pingedTasks.push(task);
|
@@ -4643,7 +4650,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4643
4650
|
task.context,
|
4644
4651
|
task.treeContext,
|
4645
4652
|
task.row,
|
4646
|
-
|
4653
|
+
replaceSuspenseComponentStackWithSuspenseFallbackStack(
|
4654
|
+
task.componentStack
|
4655
|
+
)
|
4647
4656
|
);
|
4648
4657
|
pushComponentStack(task);
|
4649
4658
|
request.pingedTasks.push(task);
|
@@ -4935,7 +4944,9 @@ function retryNode(request, task) {
|
|
4935
4944
|
task.context,
|
4936
4945
|
task.treeContext,
|
4937
4946
|
task.row,
|
4938
|
-
|
4947
|
+
replaceSuspenseComponentStackWithSuspenseFallbackStack(
|
4948
|
+
task.componentStack
|
4949
|
+
)
|
4939
4950
|
);
|
4940
4951
|
pushComponentStack(childNodes);
|
4941
4952
|
request.pingedTasks.push(childNodes);
|
@@ -6456,4 +6467,4 @@ exports.renderToString = function (children, options) {
|
|
6456
6467
|
'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'
|
6457
6468
|
);
|
6458
6469
|
};
|
6459
|
-
exports.version = "19.2.0-canary-
|
6470
|
+
exports.version = "19.2.0-canary-befc1246-20250708";
|