react-dom 19.2.0-canary-c44e4a25-20250409 → 19.2.0-canary-39cad7af-20250411
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 +185 -202
- package/cjs/react-dom-client.production.js +195 -236
- package/cjs/react-dom-profiling.development.js +185 -202
- package/cjs/react-dom-profiling.profiling.js +198 -239
- package/cjs/react-dom-server-legacy.browser.development.js +30 -58
- package/cjs/react-dom-server-legacy.browser.production.js +66 -89
- package/cjs/react-dom-server-legacy.node.development.js +30 -58
- package/cjs/react-dom-server-legacy.node.production.js +66 -89
- package/cjs/react-dom-server.browser.development.js +48 -73
- package/cjs/react-dom-server.browser.production.js +58 -88
- package/cjs/react-dom-server.bun.development.js +38 -74
- package/cjs/react-dom-server.bun.production.js +54 -83
- package/cjs/react-dom-server.edge.development.js +48 -73
- package/cjs/react-dom-server.edge.production.js +61 -91
- package/cjs/react-dom-server.node.development.js +48 -73
- package/cjs/react-dom-server.node.production.js +61 -91
- 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
@@ -606,12 +606,7 @@ function createResumableState(
|
|
606
606
|
};
|
607
607
|
}
|
608
608
|
function createPreambleState() {
|
609
|
-
return {
|
610
|
-
htmlChunks: null,
|
611
|
-
headChunks: null,
|
612
|
-
bodyChunks: null,
|
613
|
-
contribution: 0
|
614
|
-
};
|
609
|
+
return { htmlChunks: null, headChunks: null, bodyChunks: null };
|
615
610
|
}
|
616
611
|
function createFormatContext(insertionMode, selectedValue, tagScope) {
|
617
612
|
return {
|
@@ -1150,6 +1145,10 @@ function pushTitleImpl(target, props) {
|
|
1150
1145
|
target.push(endChunkForTag("title"));
|
1151
1146
|
return null;
|
1152
1147
|
}
|
1148
|
+
var headPreambleContributionChunk =
|
1149
|
+
stringToPrecomputedChunk("\x3c!--head--\x3e"),
|
1150
|
+
bodyPreambleContributionChunk = stringToPrecomputedChunk("\x3c!--body--\x3e"),
|
1151
|
+
htmlPreambleContributionChunk = stringToPrecomputedChunk("\x3c!--html--\x3e");
|
1153
1152
|
function pushScriptImpl(target, props) {
|
1154
1153
|
target.push(startChunkForTag("script"));
|
1155
1154
|
var children = null,
|
@@ -2155,6 +2154,8 @@ function pushStartInstance(
|
|
2155
2154
|
var preamble = preambleState || renderState.preamble;
|
2156
2155
|
if (preamble.headChunks)
|
2157
2156
|
throw Error(formatProdErrorMessage(545, "`<head>`"));
|
2157
|
+
null !== preambleState &&
|
2158
|
+
target$jscomp$0.push(headPreambleContributionChunk);
|
2158
2159
|
preamble.headChunks = [];
|
2159
2160
|
var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
|
2160
2161
|
preamble.headChunks,
|
@@ -2173,6 +2174,8 @@ function pushStartInstance(
|
|
2173
2174
|
var preamble$jscomp$0 = preambleState || renderState.preamble;
|
2174
2175
|
if (preamble$jscomp$0.bodyChunks)
|
2175
2176
|
throw Error(formatProdErrorMessage(545, "`<body>`"));
|
2177
|
+
null !== preambleState &&
|
2178
|
+
target$jscomp$0.push(bodyPreambleContributionChunk);
|
2176
2179
|
preamble$jscomp$0.bodyChunks = [];
|
2177
2180
|
var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
|
2178
2181
|
preamble$jscomp$0.bodyChunks,
|
@@ -2191,6 +2194,8 @@ function pushStartInstance(
|
|
2191
2194
|
var preamble$jscomp$1 = preambleState || renderState.preamble;
|
2192
2195
|
if (preamble$jscomp$1.htmlChunks)
|
2193
2196
|
throw Error(formatProdErrorMessage(545, "`<html>`"));
|
2197
|
+
null !== preambleState &&
|
2198
|
+
target$jscomp$0.push(htmlPreambleContributionChunk);
|
2194
2199
|
preamble$jscomp$1.htmlChunks = [doctypeChunk];
|
2195
2200
|
var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
|
2196
2201
|
preamble$jscomp$1.htmlChunks,
|
@@ -2270,16 +2275,13 @@ function hoistPreambleState(renderState, preambleState) {
|
|
2270
2275
|
renderState = renderState.preamble;
|
2271
2276
|
null === renderState.htmlChunks &&
|
2272
2277
|
preambleState.htmlChunks &&
|
2273
|
-
(
|
2274
|
-
(preambleState.contribution |= 1));
|
2278
|
+
(renderState.htmlChunks = preambleState.htmlChunks);
|
2275
2279
|
null === renderState.headChunks &&
|
2276
2280
|
preambleState.headChunks &&
|
2277
|
-
(
|
2278
|
-
(preambleState.contribution |= 4));
|
2281
|
+
(renderState.headChunks = preambleState.headChunks);
|
2279
2282
|
null === renderState.bodyChunks &&
|
2280
2283
|
preambleState.bodyChunks &&
|
2281
|
-
(
|
2282
|
-
(preambleState.contribution |= 2));
|
2284
|
+
(renderState.bodyChunks = preambleState.bodyChunks);
|
2283
2285
|
}
|
2284
2286
|
function writeBootstrap(destination, renderState) {
|
2285
2287
|
renderState = renderState.bootstrapChunks;
|
@@ -2320,16 +2322,6 @@ function writeStartPendingSuspenseBoundary(destination, renderState, id) {
|
|
2320
2322
|
writeChunk(destination, stringToChunk(id.toString(16)));
|
2321
2323
|
return writeChunkAndReturn(destination, startPendingSuspenseBoundary2);
|
2322
2324
|
}
|
2323
|
-
var boundaryPreambleContributionChunkStart =
|
2324
|
-
stringToPrecomputedChunk("\x3c!--"),
|
2325
|
-
boundaryPreambleContributionChunkEnd = stringToPrecomputedChunk("--\x3e");
|
2326
|
-
function writePreambleContribution(destination, preambleState) {
|
2327
|
-
preambleState = preambleState.contribution;
|
2328
|
-
0 !== preambleState &&
|
2329
|
-
(writeChunk(destination, boundaryPreambleContributionChunkStart),
|
2330
|
-
writeChunk(destination, stringToChunk("" + preambleState)),
|
2331
|
-
writeChunk(destination, boundaryPreambleContributionChunkEnd));
|
2332
|
-
}
|
2333
2325
|
var startSegmentHTML = stringToPrecomputedChunk('<div hidden id="'),
|
2334
2326
|
startSegmentHTML2 = stringToPrecomputedChunk('">'),
|
2335
2327
|
endSegmentHTML = stringToPrecomputedChunk("</div>"),
|
@@ -4495,32 +4487,21 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4495
4487
|
return;
|
4496
4488
|
case REACT_ACTIVITY_TYPE:
|
4497
4489
|
type = task.blockedSegment;
|
4498
|
-
|
4499
|
-
"hidden" !== props.mode &&
|
4490
|
+
null === type
|
4491
|
+
? "hidden" !== props.mode &&
|
4500
4492
|
((type = task.keyPath),
|
4501
4493
|
(task.keyPath = keyPath),
|
4502
4494
|
renderNode(request, task, props.children, -1),
|
4503
|
-
(task.keyPath = type))
|
4504
|
-
|
4505
|
-
|
4506
|
-
|
4507
|
-
|
4508
|
-
|
4509
|
-
|
4510
|
-
|
4511
|
-
(
|
4512
|
-
|
4513
|
-
if ((task = task.blockedPreamble))
|
4514
|
-
(task = task.contribution),
|
4515
|
-
0 !== task &&
|
4516
|
-
request.push(
|
4517
|
-
boundaryPreambleContributionChunkStart,
|
4518
|
-
stringToChunk("" + task),
|
4519
|
-
boundaryPreambleContributionChunkEnd
|
4520
|
-
);
|
4521
|
-
request.push(endActivityBoundary);
|
4522
|
-
type.lastPushedText = !1;
|
4523
|
-
}
|
4495
|
+
(task.keyPath = type))
|
4496
|
+
: (type.chunks.push(startActivityBoundary),
|
4497
|
+
(type.lastPushedText = !1),
|
4498
|
+
"hidden" !== props.mode &&
|
4499
|
+
((newProps = task.keyPath),
|
4500
|
+
(task.keyPath = keyPath),
|
4501
|
+
renderNode(request, task, props.children, -1),
|
4502
|
+
(task.keyPath = newProps)),
|
4503
|
+
type.chunks.push(endActivityBoundary),
|
4504
|
+
(type.lastPushedText = !1));
|
4524
4505
|
return;
|
4525
4506
|
case REACT_SUSPENSE_LIST_TYPE:
|
4526
4507
|
type = task.keyPath;
|
@@ -5802,27 +5783,21 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
5802
5783
|
if (null === boundary)
|
5803
5784
|
return flushSubtree(request, destination, segment, hoistableState);
|
5804
5785
|
boundary.parentFlushed = !0;
|
5805
|
-
if (4 === boundary.status)
|
5806
|
-
|
5807
|
-
|
5808
|
-
|
5809
|
-
|
5810
|
-
|
5811
|
-
|
5812
|
-
|
5813
|
-
|
5814
|
-
|
5815
|
-
|
5816
|
-
|
5817
|
-
|
5818
|
-
|
5819
|
-
|
5820
|
-
return writeChunkAndReturn(destination, endSuspenseBoundary);
|
5821
|
-
}
|
5822
|
-
if (1 !== boundary.status)
|
5823
|
-
return (
|
5824
|
-
0 === boundary.status &&
|
5825
|
-
(boundary.rootSegmentID = request.nextSegmentId++),
|
5786
|
+
if (4 === boundary.status)
|
5787
|
+
(boundary = boundary.errorDigest),
|
5788
|
+
writeChunkAndReturn(destination, startClientRenderedSuspenseBoundary),
|
5789
|
+
writeChunk(destination, clientRenderedSuspenseBoundaryError1),
|
5790
|
+
boundary &&
|
5791
|
+
(writeChunk(destination, clientRenderedSuspenseBoundaryError1A),
|
5792
|
+
writeChunk(destination, stringToChunk(escapeTextForBrowser(boundary))),
|
5793
|
+
writeChunk(
|
5794
|
+
destination,
|
5795
|
+
clientRenderedSuspenseBoundaryErrorAttrInterstitial
|
5796
|
+
)),
|
5797
|
+
writeChunkAndReturn(destination, clientRenderedSuspenseBoundaryError2),
|
5798
|
+
flushSubtree(request, destination, segment, hoistableState);
|
5799
|
+
else if (1 !== boundary.status)
|
5800
|
+
0 === boundary.status && (boundary.rootSegmentID = request.nextSegmentId++),
|
5826
5801
|
0 < boundary.completedSegments.length &&
|
5827
5802
|
request.partialBoundaries.push(boundary),
|
5828
5803
|
writeStartPendingSuspenseBoundary(
|
@@ -5837,31 +5812,26 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
5837
5812
|
hoistStylesheetDependency,
|
5838
5813
|
hoistableState
|
5839
5814
|
)),
|
5840
|
-
flushSubtree(request, destination, segment, hoistableState)
|
5841
|
-
|
5842
|
-
)
|
5843
|
-
if (boundary.byteSize > request.progressiveChunkSize)
|
5844
|
-
return (
|
5845
|
-
(boundary.rootSegmentID = request.nextSegmentId++),
|
5815
|
+
flushSubtree(request, destination, segment, hoistableState);
|
5816
|
+
else if (boundary.byteSize > request.progressiveChunkSize)
|
5817
|
+
(boundary.rootSegmentID = request.nextSegmentId++),
|
5846
5818
|
request.completedBoundaries.push(boundary),
|
5847
5819
|
writeStartPendingSuspenseBoundary(
|
5848
5820
|
destination,
|
5849
5821
|
request.renderState,
|
5850
5822
|
boundary.rootSegmentID
|
5851
5823
|
),
|
5852
|
-
flushSubtree(request, destination, segment, hoistableState)
|
5853
|
-
|
5854
|
-
|
5855
|
-
|
5856
|
-
|
5857
|
-
|
5858
|
-
|
5859
|
-
|
5860
|
-
|
5861
|
-
|
5862
|
-
|
5863
|
-
(request = boundary.contentPreamble) &&
|
5864
|
-
writePreambleContribution(destination, request);
|
5824
|
+
flushSubtree(request, destination, segment, hoistableState);
|
5825
|
+
else {
|
5826
|
+
hoistableState &&
|
5827
|
+
((segment = boundary.contentState),
|
5828
|
+
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
5829
|
+
segment.stylesheets.forEach(hoistStylesheetDependency, hoistableState));
|
5830
|
+
writeChunkAndReturn(destination, startCompletedSuspenseBoundary);
|
5831
|
+
segment = boundary.completedSegments;
|
5832
|
+
if (1 !== segment.length) throw Error(formatProdErrorMessage(391));
|
5833
|
+
flushSegment(request, destination, segment[0], hoistableState);
|
5834
|
+
}
|
5865
5835
|
return writeChunkAndReturn(destination, endSuspenseBoundary);
|
5866
5836
|
}
|
5867
5837
|
function flushSegmentContainer(request, destination, segment, hoistableState) {
|
@@ -6253,12 +6223,12 @@ function abort(request, reason) {
|
|
6253
6223
|
}
|
6254
6224
|
function ensureCorrectIsomorphicReactVersion() {
|
6255
6225
|
var isomorphicReactPackageVersion = React.version;
|
6256
|
-
if ("19.2.0-canary-
|
6226
|
+
if ("19.2.0-canary-39cad7af-20250411" !== isomorphicReactPackageVersion)
|
6257
6227
|
throw Error(
|
6258
6228
|
formatProdErrorMessage(
|
6259
6229
|
527,
|
6260
6230
|
isomorphicReactPackageVersion,
|
6261
|
-
"19.2.0-canary-
|
6231
|
+
"19.2.0-canary-39cad7af-20250411"
|
6262
6232
|
)
|
6263
6233
|
);
|
6264
6234
|
}
|
@@ -6405,4 +6375,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
6405
6375
|
startWork(request);
|
6406
6376
|
});
|
6407
6377
|
};
|
6408
|
-
exports.version = "19.2.0-canary-
|
6378
|
+
exports.version = "19.2.0-canary-39cad7af-20250411";
|
@@ -1594,14 +1594,8 @@ function createResumableState(
|
|
1594
1594
|
moduleScriptResources: {}
|
1595
1595
|
};
|
1596
1596
|
}
|
1597
|
-
var NoContribution = 0;
|
1598
1597
|
function createPreambleState() {
|
1599
|
-
return {
|
1600
|
-
htmlChunks: null,
|
1601
|
-
headChunks: null,
|
1602
|
-
bodyChunks: null,
|
1603
|
-
contribution: NoContribution
|
1604
|
-
};
|
1598
|
+
return { htmlChunks: null, headChunks: null, bodyChunks: null };
|
1605
1599
|
}
|
1606
1600
|
var ROOT_HTML_MODE = 0,
|
1607
1601
|
HTML_HTML_MODE = 1,
|
@@ -3547,6 +3541,7 @@ function pushStartInstance(
|
|
3547
3541
|
var preamble = preambleState || renderState.preamble;
|
3548
3542
|
if (preamble.headChunks)
|
3549
3543
|
throw Error("The `<head>` tag may only be rendered once.");
|
3544
|
+
null !== preambleState && target$jscomp$0.push("\x3c!--head--\x3e");
|
3550
3545
|
preamble.headChunks = [];
|
3551
3546
|
var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
|
3552
3547
|
preamble.headChunks,
|
@@ -3565,6 +3560,7 @@ function pushStartInstance(
|
|
3565
3560
|
var preamble$jscomp$0 = preambleState || renderState.preamble;
|
3566
3561
|
if (preamble$jscomp$0.bodyChunks)
|
3567
3562
|
throw Error("The `<body>` tag may only be rendered once.");
|
3563
|
+
null !== preambleState && target$jscomp$0.push("\x3c!--body--\x3e");
|
3568
3564
|
preamble$jscomp$0.bodyChunks = [];
|
3569
3565
|
var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
|
3570
3566
|
preamble$jscomp$0.bodyChunks,
|
@@ -3583,6 +3579,7 @@ function pushStartInstance(
|
|
3583
3579
|
var preamble$jscomp$1 = preambleState || renderState.preamble;
|
3584
3580
|
if (preamble$jscomp$1.htmlChunks)
|
3585
3581
|
throw Error("The `<html>` tag may only be rendered once.");
|
3582
|
+
null !== preambleState && target$jscomp$0.push("\x3c!--html--\x3e");
|
3586
3583
|
preamble$jscomp$1.htmlChunks = ["<!DOCTYPE html>"];
|
3587
3584
|
var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
|
3588
3585
|
preamble$jscomp$1.htmlChunks,
|
@@ -3660,16 +3657,13 @@ function hoistPreambleState(renderState, preambleState) {
|
|
3660
3657
|
renderState = renderState.preamble;
|
3661
3658
|
null === renderState.htmlChunks &&
|
3662
3659
|
preambleState.htmlChunks &&
|
3663
|
-
(
|
3664
|
-
(preambleState.contribution |= 1));
|
3660
|
+
(renderState.htmlChunks = preambleState.htmlChunks);
|
3665
3661
|
null === renderState.headChunks &&
|
3666
3662
|
preambleState.headChunks &&
|
3667
|
-
(
|
3668
|
-
(preambleState.contribution |= 4));
|
3663
|
+
(renderState.headChunks = preambleState.headChunks);
|
3669
3664
|
null === renderState.bodyChunks &&
|
3670
3665
|
preambleState.bodyChunks &&
|
3671
|
-
(
|
3672
|
-
(preambleState.contribution |= 2));
|
3666
|
+
(renderState.bodyChunks = preambleState.bodyChunks);
|
3673
3667
|
}
|
3674
3668
|
function writeBootstrap(destination, renderState) {
|
3675
3669
|
renderState = renderState.bootstrapChunks;
|
@@ -3703,15 +3697,6 @@ function writeStartPendingSuspenseBoundary(destination, renderState, id) {
|
|
3703
3697
|
writeChunk(destination, id.toString(16));
|
3704
3698
|
return !!destination.write(startPendingSuspenseBoundary2);
|
3705
3699
|
}
|
3706
|
-
var boundaryPreambleContributionChunkStart = "\x3c!--",
|
3707
|
-
boundaryPreambleContributionChunkEnd = "--\x3e";
|
3708
|
-
function writePreambleContribution(destination, preambleState) {
|
3709
|
-
preambleState = preambleState.contribution;
|
3710
|
-
preambleState !== NoContribution &&
|
3711
|
-
(writeChunk(destination, boundaryPreambleContributionChunkStart),
|
3712
|
-
writeChunk(destination, "" + preambleState),
|
3713
|
-
writeChunk(destination, boundaryPreambleContributionChunkEnd));
|
3714
|
-
}
|
3715
3700
|
var startSegmentHTML = '<div hidden id="',
|
3716
3701
|
startSegmentHTML2 = '">',
|
3717
3702
|
endSegmentHTML = "</div>",
|
@@ -6577,18 +6562,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
6577
6562
|
renderNode(request, task, props.children, -1);
|
6578
6563
|
task.keyPath = _prevKeyPath3;
|
6579
6564
|
}
|
6580
|
-
|
6581
|
-
preambleState = task.blockedPreamble;
|
6582
|
-
if (preambleState) {
|
6583
|
-
var contribution = preambleState.contribution;
|
6584
|
-
contribution !== NoContribution &&
|
6585
|
-
target$jscomp$0.push(
|
6586
|
-
boundaryPreambleContributionChunkStart,
|
6587
|
-
"" + contribution,
|
6588
|
-
boundaryPreambleContributionChunkEnd
|
6589
|
-
);
|
6590
|
-
}
|
6591
|
-
target$jscomp$0.push("\x3c!--/&--\x3e");
|
6565
|
+
segment$jscomp$0.chunks.push("\x3c!--/&--\x3e");
|
6592
6566
|
segment$jscomp$0.lastPushedText = !1;
|
6593
6567
|
}
|
6594
6568
|
return;
|
@@ -8163,8 +8137,8 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
8163
8137
|
if (boundary.status === CLIENT_RENDERED) {
|
8164
8138
|
var errorDigest = boundary.errorDigest,
|
8165
8139
|
errorMessage = boundary.errorMessage,
|
8166
|
-
errorStack = boundary.errorStack
|
8167
|
-
|
8140
|
+
errorStack = boundary.errorStack;
|
8141
|
+
boundary = boundary.errorComponentStack;
|
8168
8142
|
destination.write(startClientRenderedSuspenseBoundary);
|
8169
8143
|
writeChunk(destination, clientRenderedSuspenseBoundaryError1);
|
8170
8144
|
errorDigest &&
|
@@ -8188,23 +8162,18 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
8188
8162
|
destination,
|
8189
8163
|
clientRenderedSuspenseBoundaryErrorAttrInterstitial
|
8190
8164
|
));
|
8191
|
-
|
8165
|
+
boundary &&
|
8192
8166
|
(writeChunk(destination, clientRenderedSuspenseBoundaryError1D),
|
8193
|
-
writeChunk(destination, escapeTextForBrowser(
|
8167
|
+
writeChunk(destination, escapeTextForBrowser(boundary)),
|
8194
8168
|
writeChunk(
|
8195
8169
|
destination,
|
8196
8170
|
clientRenderedSuspenseBoundaryErrorAttrInterstitial
|
8197
8171
|
));
|
8198
8172
|
destination.write(clientRenderedSuspenseBoundaryError2);
|
8199
8173
|
flushSubtree(request, destination, segment, hoistableState);
|
8200
|
-
|
8201
|
-
|
8202
|
-
|
8203
|
-
}
|
8204
|
-
if (boundary.status !== COMPLETED)
|
8205
|
-
return (
|
8206
|
-
boundary.status === PENDING &&
|
8207
|
-
(boundary.rootSegmentID = request.nextSegmentId++),
|
8174
|
+
} else if (boundary.status !== COMPLETED)
|
8175
|
+
boundary.status === PENDING &&
|
8176
|
+
(boundary.rootSegmentID = request.nextSegmentId++),
|
8208
8177
|
0 < boundary.completedSegments.length &&
|
8209
8178
|
request.partialBoundaries.push(boundary),
|
8210
8179
|
writeStartPendingSuspenseBoundary(
|
@@ -8219,34 +8188,29 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
8219
8188
|
hoistStylesheetDependency,
|
8220
8189
|
hoistableState
|
8221
8190
|
)),
|
8222
|
-
flushSubtree(request, destination, segment, hoistableState)
|
8223
|
-
|
8224
|
-
)
|
8225
|
-
if (boundary.byteSize > request.progressiveChunkSize)
|
8226
|
-
return (
|
8227
|
-
(boundary.rootSegmentID = request.nextSegmentId++),
|
8191
|
+
flushSubtree(request, destination, segment, hoistableState);
|
8192
|
+
else if (boundary.byteSize > request.progressiveChunkSize)
|
8193
|
+
(boundary.rootSegmentID = request.nextSegmentId++),
|
8228
8194
|
request.completedBoundaries.push(boundary),
|
8229
8195
|
writeStartPendingSuspenseBoundary(
|
8230
8196
|
destination,
|
8231
8197
|
request.renderState,
|
8232
8198
|
boundary.rootSegmentID
|
8233
8199
|
),
|
8234
|
-
flushSubtree(request, destination, segment, hoistableState)
|
8235
|
-
|
8236
|
-
|
8237
|
-
|
8238
|
-
|
8239
|
-
|
8240
|
-
|
8241
|
-
|
8242
|
-
|
8243
|
-
|
8244
|
-
|
8245
|
-
|
8246
|
-
);
|
8247
|
-
|
8248
|
-
(request = boundary.contentPreamble) &&
|
8249
|
-
writePreambleContribution(destination, request);
|
8200
|
+
flushSubtree(request, destination, segment, hoistableState);
|
8201
|
+
else {
|
8202
|
+
hoistableState &&
|
8203
|
+
((segment = boundary.contentState),
|
8204
|
+
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
8205
|
+
segment.stylesheets.forEach(hoistStylesheetDependency, hoistableState));
|
8206
|
+
destination.write(startCompletedSuspenseBoundary);
|
8207
|
+
segment = boundary.completedSegments;
|
8208
|
+
if (1 !== segment.length)
|
8209
|
+
throw Error(
|
8210
|
+
"A previously unvisited boundary must have exactly one root segment. This is a bug in React."
|
8211
|
+
);
|
8212
|
+
flushSegment(request, destination, segment[0], hoistableState);
|
8213
|
+
}
|
8250
8214
|
return !!destination.write(endSuspenseBoundary);
|
8251
8215
|
}
|
8252
8216
|
function flushSegmentContainer(request, destination, segment, hoistableState) {
|
@@ -8660,15 +8624,15 @@ function abort(request, reason) {
|
|
8660
8624
|
fatalError(request, error$4, reason, null);
|
8661
8625
|
}
|
8662
8626
|
}
|
8663
|
-
var isomorphicReactPackageVersion$jscomp$
|
8627
|
+
var isomorphicReactPackageVersion$jscomp$inline_742 = React.version;
|
8664
8628
|
if (
|
8665
|
-
"19.2.0-canary-
|
8666
|
-
isomorphicReactPackageVersion$jscomp$
|
8629
|
+
"19.2.0-canary-39cad7af-20250411" !==
|
8630
|
+
isomorphicReactPackageVersion$jscomp$inline_742
|
8667
8631
|
)
|
8668
8632
|
throw Error(
|
8669
8633
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
8670
|
-
(isomorphicReactPackageVersion$jscomp$
|
8671
|
-
"\n - react-dom: 19.2.0-canary-
|
8634
|
+
(isomorphicReactPackageVersion$jscomp$inline_742 +
|
8635
|
+
"\n - react-dom: 19.2.0-canary-39cad7af-20250411\nLearn more: https://react.dev/warnings/version-mismatch")
|
8672
8636
|
);
|
8673
8637
|
exports.renderToReadableStream = function (children, options) {
|
8674
8638
|
return new Promise(function (resolve, reject) {
|
@@ -8761,4 +8725,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
8761
8725
|
startWork(request$jscomp$0);
|
8762
8726
|
});
|
8763
8727
|
};
|
8764
|
-
exports.version = "19.2.0-canary-
|
8728
|
+
exports.version = "19.2.0-canary-39cad7af-20250411";
|