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
@@ -581,12 +581,7 @@ function createResumableState(
|
|
581
581
|
};
|
582
582
|
}
|
583
583
|
function createPreambleState() {
|
584
|
-
return {
|
585
|
-
htmlChunks: null,
|
586
|
-
headChunks: null,
|
587
|
-
bodyChunks: null,
|
588
|
-
contribution: 0
|
589
|
-
};
|
584
|
+
return { htmlChunks: null, headChunks: null, bodyChunks: null };
|
590
585
|
}
|
591
586
|
function createFormatContext(insertionMode, selectedValue, tagScope) {
|
592
587
|
return {
|
@@ -1141,6 +1136,10 @@ function pushTitleImpl(target, props) {
|
|
1141
1136
|
target.push(endChunkForTag("title"));
|
1142
1137
|
return null;
|
1143
1138
|
}
|
1139
|
+
var headPreambleContributionChunk =
|
1140
|
+
stringToPrecomputedChunk("\x3c!--head--\x3e"),
|
1141
|
+
bodyPreambleContributionChunk = stringToPrecomputedChunk("\x3c!--body--\x3e"),
|
1142
|
+
htmlPreambleContributionChunk = stringToPrecomputedChunk("\x3c!--html--\x3e");
|
1144
1143
|
function pushScriptImpl(target, props) {
|
1145
1144
|
target.push(startChunkForTag("script"));
|
1146
1145
|
var children = null,
|
@@ -2159,6 +2158,8 @@ function pushStartInstance(
|
|
2159
2158
|
var preamble = preambleState || renderState.preamble;
|
2160
2159
|
if (preamble.headChunks)
|
2161
2160
|
throw Error("The `<head>` tag may only be rendered once.");
|
2161
|
+
null !== preambleState &&
|
2162
|
+
target$jscomp$0.push(headPreambleContributionChunk);
|
2162
2163
|
preamble.headChunks = [];
|
2163
2164
|
var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
|
2164
2165
|
preamble.headChunks,
|
@@ -2177,6 +2178,8 @@ function pushStartInstance(
|
|
2177
2178
|
var preamble$jscomp$0 = preambleState || renderState.preamble;
|
2178
2179
|
if (preamble$jscomp$0.bodyChunks)
|
2179
2180
|
throw Error("The `<body>` tag may only be rendered once.");
|
2181
|
+
null !== preambleState &&
|
2182
|
+
target$jscomp$0.push(bodyPreambleContributionChunk);
|
2180
2183
|
preamble$jscomp$0.bodyChunks = [];
|
2181
2184
|
var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
|
2182
2185
|
preamble$jscomp$0.bodyChunks,
|
@@ -2195,6 +2198,8 @@ function pushStartInstance(
|
|
2195
2198
|
var preamble$jscomp$1 = preambleState || renderState.preamble;
|
2196
2199
|
if (preamble$jscomp$1.htmlChunks)
|
2197
2200
|
throw Error("The `<html>` tag may only be rendered once.");
|
2201
|
+
null !== preambleState &&
|
2202
|
+
target$jscomp$0.push(htmlPreambleContributionChunk);
|
2198
2203
|
preamble$jscomp$1.htmlChunks = [doctypeChunk];
|
2199
2204
|
var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
|
2200
2205
|
preamble$jscomp$1.htmlChunks,
|
@@ -2274,16 +2279,13 @@ function hoistPreambleState(renderState, preambleState) {
|
|
2274
2279
|
renderState = renderState.preamble;
|
2275
2280
|
null === renderState.htmlChunks &&
|
2276
2281
|
preambleState.htmlChunks &&
|
2277
|
-
(
|
2278
|
-
(preambleState.contribution |= 1));
|
2282
|
+
(renderState.htmlChunks = preambleState.htmlChunks);
|
2279
2283
|
null === renderState.headChunks &&
|
2280
2284
|
preambleState.headChunks &&
|
2281
|
-
(
|
2282
|
-
(preambleState.contribution |= 4));
|
2285
|
+
(renderState.headChunks = preambleState.headChunks);
|
2283
2286
|
null === renderState.bodyChunks &&
|
2284
2287
|
preambleState.bodyChunks &&
|
2285
|
-
(
|
2286
|
-
(preambleState.contribution |= 2));
|
2288
|
+
(renderState.bodyChunks = preambleState.bodyChunks);
|
2287
2289
|
}
|
2288
2290
|
function writeBootstrap(destination, renderState) {
|
2289
2291
|
renderState = renderState.bootstrapChunks;
|
@@ -2327,16 +2329,6 @@ function writeStartPendingSuspenseBoundary(destination, renderState, id) {
|
|
2327
2329
|
writeChunk(destination, stringToChunk(id.toString(16)));
|
2328
2330
|
return writeChunkAndReturn(destination, startPendingSuspenseBoundary2);
|
2329
2331
|
}
|
2330
|
-
var boundaryPreambleContributionChunkStart =
|
2331
|
-
stringToPrecomputedChunk("\x3c!--"),
|
2332
|
-
boundaryPreambleContributionChunkEnd = stringToPrecomputedChunk("--\x3e");
|
2333
|
-
function writePreambleContribution(destination, preambleState) {
|
2334
|
-
preambleState = preambleState.contribution;
|
2335
|
-
0 !== preambleState &&
|
2336
|
-
(writeChunk(destination, boundaryPreambleContributionChunkStart),
|
2337
|
-
writeChunk(destination, stringToChunk("" + preambleState)),
|
2338
|
-
writeChunk(destination, boundaryPreambleContributionChunkEnd));
|
2339
|
-
}
|
2340
2332
|
var startSegmentHTML = stringToPrecomputedChunk('<div hidden id="'),
|
2341
2333
|
startSegmentHTML2 = stringToPrecomputedChunk('">'),
|
2342
2334
|
endSegmentHTML = stringToPrecomputedChunk("</div>"),
|
@@ -4547,32 +4539,21 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4547
4539
|
return;
|
4548
4540
|
case REACT_ACTIVITY_TYPE:
|
4549
4541
|
type = task.blockedSegment;
|
4550
|
-
|
4551
|
-
"hidden" !== props.mode &&
|
4542
|
+
null === type
|
4543
|
+
? "hidden" !== props.mode &&
|
4552
4544
|
((type = task.keyPath),
|
4553
4545
|
(task.keyPath = keyPath),
|
4554
4546
|
renderNode(request, task, props.children, -1),
|
4555
|
-
(task.keyPath = type))
|
4556
|
-
|
4557
|
-
|
4558
|
-
|
4559
|
-
|
4560
|
-
|
4561
|
-
|
4562
|
-
|
4563
|
-
(
|
4564
|
-
|
4565
|
-
if ((task = task.blockedPreamble))
|
4566
|
-
(task = task.contribution),
|
4567
|
-
0 !== task &&
|
4568
|
-
request.push(
|
4569
|
-
boundaryPreambleContributionChunkStart,
|
4570
|
-
stringToChunk("" + task),
|
4571
|
-
boundaryPreambleContributionChunkEnd
|
4572
|
-
);
|
4573
|
-
request.push(endActivityBoundary);
|
4574
|
-
type.lastPushedText = !1;
|
4575
|
-
}
|
4547
|
+
(task.keyPath = type))
|
4548
|
+
: (type.chunks.push(startActivityBoundary),
|
4549
|
+
(type.lastPushedText = !1),
|
4550
|
+
"hidden" !== props.mode &&
|
4551
|
+
((newProps = task.keyPath),
|
4552
|
+
(task.keyPath = keyPath),
|
4553
|
+
renderNode(request, task, props.children, -1),
|
4554
|
+
(task.keyPath = newProps)),
|
4555
|
+
type.chunks.push(endActivityBoundary),
|
4556
|
+
(type.lastPushedText = !1));
|
4576
4557
|
return;
|
4577
4558
|
case REACT_SUSPENSE_LIST_TYPE:
|
4578
4559
|
type = task.keyPath;
|
@@ -5879,27 +5860,21 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
5879
5860
|
if (null === boundary)
|
5880
5861
|
return flushSubtree(request, destination, segment, hoistableState);
|
5881
5862
|
boundary.parentFlushed = !0;
|
5882
|
-
if (4 === boundary.status)
|
5883
|
-
|
5884
|
-
|
5885
|
-
|
5886
|
-
|
5887
|
-
|
5888
|
-
|
5889
|
-
|
5890
|
-
|
5891
|
-
|
5892
|
-
|
5893
|
-
|
5894
|
-
|
5895
|
-
|
5896
|
-
|
5897
|
-
return writeChunkAndReturn(destination, endSuspenseBoundary);
|
5898
|
-
}
|
5899
|
-
if (1 !== boundary.status)
|
5900
|
-
return (
|
5901
|
-
0 === boundary.status &&
|
5902
|
-
(boundary.rootSegmentID = request.nextSegmentId++),
|
5863
|
+
if (4 === boundary.status)
|
5864
|
+
(boundary = boundary.errorDigest),
|
5865
|
+
writeChunkAndReturn(destination, startClientRenderedSuspenseBoundary),
|
5866
|
+
writeChunk(destination, clientRenderedSuspenseBoundaryError1),
|
5867
|
+
boundary &&
|
5868
|
+
(writeChunk(destination, clientRenderedSuspenseBoundaryError1A),
|
5869
|
+
writeChunk(destination, stringToChunk(escapeTextForBrowser(boundary))),
|
5870
|
+
writeChunk(
|
5871
|
+
destination,
|
5872
|
+
clientRenderedSuspenseBoundaryErrorAttrInterstitial
|
5873
|
+
)),
|
5874
|
+
writeChunkAndReturn(destination, clientRenderedSuspenseBoundaryError2),
|
5875
|
+
flushSubtree(request, destination, segment, hoistableState);
|
5876
|
+
else if (1 !== boundary.status)
|
5877
|
+
0 === boundary.status && (boundary.rootSegmentID = request.nextSegmentId++),
|
5903
5878
|
0 < boundary.completedSegments.length &&
|
5904
5879
|
request.partialBoundaries.push(boundary),
|
5905
5880
|
writeStartPendingSuspenseBoundary(
|
@@ -5914,34 +5889,29 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
5914
5889
|
hoistStylesheetDependency,
|
5915
5890
|
hoistableState
|
5916
5891
|
)),
|
5917
|
-
flushSubtree(request, destination, segment, hoistableState)
|
5918
|
-
|
5919
|
-
)
|
5920
|
-
if (boundary.byteSize > request.progressiveChunkSize)
|
5921
|
-
return (
|
5922
|
-
(boundary.rootSegmentID = request.nextSegmentId++),
|
5892
|
+
flushSubtree(request, destination, segment, hoistableState);
|
5893
|
+
else if (boundary.byteSize > request.progressiveChunkSize)
|
5894
|
+
(boundary.rootSegmentID = request.nextSegmentId++),
|
5923
5895
|
request.completedBoundaries.push(boundary),
|
5924
5896
|
writeStartPendingSuspenseBoundary(
|
5925
5897
|
destination,
|
5926
5898
|
request.renderState,
|
5927
5899
|
boundary.rootSegmentID
|
5928
5900
|
),
|
5929
|
-
flushSubtree(request, destination, segment, hoistableState)
|
5930
|
-
|
5931
|
-
|
5932
|
-
|
5933
|
-
|
5934
|
-
|
5935
|
-
|
5936
|
-
|
5937
|
-
|
5938
|
-
|
5939
|
-
|
5940
|
-
|
5941
|
-
);
|
5942
|
-
|
5943
|
-
(request = boundary.contentPreamble) &&
|
5944
|
-
writePreambleContribution(destination, request);
|
5901
|
+
flushSubtree(request, destination, segment, hoistableState);
|
5902
|
+
else {
|
5903
|
+
hoistableState &&
|
5904
|
+
((segment = boundary.contentState),
|
5905
|
+
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
5906
|
+
segment.stylesheets.forEach(hoistStylesheetDependency, hoistableState));
|
5907
|
+
writeChunkAndReturn(destination, startCompletedSuspenseBoundary);
|
5908
|
+
segment = boundary.completedSegments;
|
5909
|
+
if (1 !== segment.length)
|
5910
|
+
throw Error(
|
5911
|
+
"A previously unvisited boundary must have exactly one root segment. This is a bug in React."
|
5912
|
+
);
|
5913
|
+
flushSegment(request, destination, segment[0], hoistableState);
|
5914
|
+
}
|
5945
5915
|
return writeChunkAndReturn(destination, endSuspenseBoundary);
|
5946
5916
|
}
|
5947
5917
|
function flushSegmentContainer(request, destination, segment, hoistableState) {
|
@@ -6348,11 +6318,11 @@ function abort(request, reason) {
|
|
6348
6318
|
}
|
6349
6319
|
function ensureCorrectIsomorphicReactVersion() {
|
6350
6320
|
var isomorphicReactPackageVersion = React.version;
|
6351
|
-
if ("19.2.0-canary-
|
6321
|
+
if ("19.2.0-canary-39cad7af-20250411" !== isomorphicReactPackageVersion)
|
6352
6322
|
throw Error(
|
6353
6323
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
6354
6324
|
(isomorphicReactPackageVersion +
|
6355
|
-
"\n - react-dom: 19.2.0-canary-
|
6325
|
+
"\n - react-dom: 19.2.0-canary-39cad7af-20250411\nLearn more: https://react.dev/warnings/version-mismatch")
|
6356
6326
|
);
|
6357
6327
|
}
|
6358
6328
|
ensureCorrectIsomorphicReactVersion();
|
@@ -6498,4 +6468,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
6498
6468
|
startWork(request);
|
6499
6469
|
});
|
6500
6470
|
};
|
6501
|
-
exports.version = "19.2.0-canary-
|
6471
|
+
exports.version = "19.2.0-canary-39cad7af-20250411";
|
@@ -959,12 +959,7 @@
|
|
959
959
|
};
|
960
960
|
}
|
961
961
|
function createPreambleState() {
|
962
|
-
return {
|
963
|
-
htmlChunks: null,
|
964
|
-
headChunks: null,
|
965
|
-
bodyChunks: null,
|
966
|
-
contribution: NoContribution
|
967
|
-
};
|
962
|
+
return { htmlChunks: null, headChunks: null, bodyChunks: null };
|
968
963
|
}
|
969
964
|
function createFormatContext(insertionMode, selectedValue, tagScope) {
|
970
965
|
return {
|
@@ -2914,6 +2909,8 @@
|
|
2914
2909
|
var preamble = preambleState || renderState.preamble;
|
2915
2910
|
if (preamble.headChunks)
|
2916
2911
|
throw Error("The `<head>` tag may only be rendered once.");
|
2912
|
+
null !== preambleState &&
|
2913
|
+
target$jscomp$0.push(headPreambleContributionChunk);
|
2917
2914
|
preamble.headChunks = [];
|
2918
2915
|
var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
|
2919
2916
|
preamble.headChunks,
|
@@ -2932,6 +2929,8 @@
|
|
2932
2929
|
var preamble$jscomp$0 = preambleState || renderState.preamble;
|
2933
2930
|
if (preamble$jscomp$0.bodyChunks)
|
2934
2931
|
throw Error("The `<body>` tag may only be rendered once.");
|
2932
|
+
null !== preambleState &&
|
2933
|
+
target$jscomp$0.push(bodyPreambleContributionChunk);
|
2935
2934
|
preamble$jscomp$0.bodyChunks = [];
|
2936
2935
|
var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
|
2937
2936
|
preamble$jscomp$0.bodyChunks,
|
@@ -2950,6 +2949,8 @@
|
|
2950
2949
|
var preamble$jscomp$1 = preambleState || renderState.preamble;
|
2951
2950
|
if (preamble$jscomp$1.htmlChunks)
|
2952
2951
|
throw Error("The `<html>` tag may only be rendered once.");
|
2952
|
+
null !== preambleState &&
|
2953
|
+
target$jscomp$0.push(htmlPreambleContributionChunk);
|
2953
2954
|
preamble$jscomp$1.htmlChunks = [doctypeChunk];
|
2954
2955
|
var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
|
2955
2956
|
preamble$jscomp$1.htmlChunks,
|
@@ -3034,16 +3035,13 @@
|
|
3034
3035
|
renderState = renderState.preamble;
|
3035
3036
|
null === renderState.htmlChunks &&
|
3036
3037
|
preambleState.htmlChunks &&
|
3037
|
-
(
|
3038
|
-
(preambleState.contribution |= 1));
|
3038
|
+
(renderState.htmlChunks = preambleState.htmlChunks);
|
3039
3039
|
null === renderState.headChunks &&
|
3040
3040
|
preambleState.headChunks &&
|
3041
|
-
(
|
3042
|
-
(preambleState.contribution |= 4));
|
3041
|
+
(renderState.headChunks = preambleState.headChunks);
|
3043
3042
|
null === renderState.bodyChunks &&
|
3044
3043
|
preambleState.bodyChunks &&
|
3045
|
-
(
|
3046
|
-
(preambleState.contribution |= 2));
|
3044
|
+
(renderState.bodyChunks = preambleState.bodyChunks);
|
3047
3045
|
}
|
3048
3046
|
function writeBootstrap(destination, renderState) {
|
3049
3047
|
renderState = renderState.bootstrapChunks;
|
@@ -3065,13 +3063,6 @@
|
|
3065
3063
|
writeChunk(destination, id.toString(16));
|
3066
3064
|
return writeChunkAndReturn(destination, startPendingSuspenseBoundary2);
|
3067
3065
|
}
|
3068
|
-
function writePreambleContribution(destination, preambleState) {
|
3069
|
-
preambleState = preambleState.contribution;
|
3070
|
-
preambleState !== NoContribution &&
|
3071
|
-
(writeChunk(destination, boundaryPreambleContributionChunkStart),
|
3072
|
-
writeChunk(destination, "" + preambleState),
|
3073
|
-
writeChunk(destination, boundaryPreambleContributionChunkEnd));
|
3074
|
-
}
|
3075
3066
|
function writeStartSegment(destination, renderState, formatContext, id) {
|
3076
3067
|
switch (formatContext.insertionMode) {
|
3077
3068
|
case ROOT_HTML_MODE:
|
@@ -5429,18 +5420,7 @@
|
|
5429
5420
|
renderNode(request, task, props.children, -1);
|
5430
5421
|
task.keyPath = _prevKeyPath3;
|
5431
5422
|
}
|
5432
|
-
|
5433
|
-
preambleState = task.blockedPreamble;
|
5434
|
-
if (preambleState) {
|
5435
|
-
var contribution = preambleState.contribution;
|
5436
|
-
contribution !== NoContribution &&
|
5437
|
-
target$jscomp$0.push(
|
5438
|
-
boundaryPreambleContributionChunkStart,
|
5439
|
-
"" + contribution,
|
5440
|
-
boundaryPreambleContributionChunkEnd
|
5441
|
-
);
|
5442
|
-
}
|
5443
|
-
target$jscomp$0.push(endActivityBoundary);
|
5423
|
+
segment$jscomp$0.chunks.push(endActivityBoundary);
|
5444
5424
|
segment$jscomp$0.lastPushedText = !1;
|
5445
5425
|
}
|
5446
5426
|
return;
|
@@ -7081,8 +7061,8 @@
|
|
7081
7061
|
if (boundary.status === CLIENT_RENDERED) {
|
7082
7062
|
var errorDigest = boundary.errorDigest,
|
7083
7063
|
errorMessage = boundary.errorMessage,
|
7084
|
-
errorStack = boundary.errorStack
|
7085
|
-
|
7064
|
+
errorStack = boundary.errorStack;
|
7065
|
+
boundary = boundary.errorComponentStack;
|
7086
7066
|
writeChunkAndReturn(destination, startClientRenderedSuspenseBoundary);
|
7087
7067
|
writeChunk(destination, clientRenderedSuspenseBoundaryError1);
|
7088
7068
|
errorDigest &&
|
@@ -7106,23 +7086,18 @@
|
|
7106
7086
|
destination,
|
7107
7087
|
clientRenderedSuspenseBoundaryErrorAttrInterstitial
|
7108
7088
|
));
|
7109
|
-
|
7089
|
+
boundary &&
|
7110
7090
|
(writeChunk(destination, clientRenderedSuspenseBoundaryError1D),
|
7111
|
-
writeChunk(destination, escapeTextForBrowser(
|
7091
|
+
writeChunk(destination, escapeTextForBrowser(boundary)),
|
7112
7092
|
writeChunk(
|
7113
7093
|
destination,
|
7114
7094
|
clientRenderedSuspenseBoundaryErrorAttrInterstitial
|
7115
7095
|
));
|
7116
7096
|
writeChunkAndReturn(destination, clientRenderedSuspenseBoundaryError2);
|
7117
7097
|
flushSubtree(request, destination, segment, hoistableState);
|
7118
|
-
|
7119
|
-
|
7120
|
-
|
7121
|
-
}
|
7122
|
-
if (boundary.status !== COMPLETED)
|
7123
|
-
return (
|
7124
|
-
boundary.status === PENDING &&
|
7125
|
-
(boundary.rootSegmentID = request.nextSegmentId++),
|
7098
|
+
} else if (boundary.status !== COMPLETED)
|
7099
|
+
boundary.status === PENDING &&
|
7100
|
+
(boundary.rootSegmentID = request.nextSegmentId++),
|
7126
7101
|
0 < boundary.completedSegments.length &&
|
7127
7102
|
request.partialBoundaries.push(boundary),
|
7128
7103
|
writeStartPendingSuspenseBoundary(
|
@@ -7137,34 +7112,32 @@
|
|
7137
7112
|
hoistStylesheetDependency,
|
7138
7113
|
hoistableState
|
7139
7114
|
)),
|
7140
|
-
flushSubtree(request, destination, segment, hoistableState)
|
7141
|
-
|
7142
|
-
)
|
7143
|
-
if (boundary.byteSize > request.progressiveChunkSize)
|
7144
|
-
return (
|
7145
|
-
(boundary.rootSegmentID = request.nextSegmentId++),
|
7115
|
+
flushSubtree(request, destination, segment, hoistableState);
|
7116
|
+
else if (boundary.byteSize > request.progressiveChunkSize)
|
7117
|
+
(boundary.rootSegmentID = request.nextSegmentId++),
|
7146
7118
|
request.completedBoundaries.push(boundary),
|
7147
7119
|
writeStartPendingSuspenseBoundary(
|
7148
7120
|
destination,
|
7149
7121
|
request.renderState,
|
7150
7122
|
boundary.rootSegmentID
|
7151
7123
|
),
|
7152
|
-
flushSubtree(request, destination, segment, hoistableState)
|
7153
|
-
|
7154
|
-
|
7155
|
-
|
7156
|
-
|
7157
|
-
|
7158
|
-
|
7159
|
-
|
7160
|
-
|
7161
|
-
|
7162
|
-
|
7163
|
-
|
7164
|
-
|
7165
|
-
|
7166
|
-
|
7167
|
-
|
7124
|
+
flushSubtree(request, destination, segment, hoistableState);
|
7125
|
+
else {
|
7126
|
+
hoistableState &&
|
7127
|
+
((segment = boundary.contentState),
|
7128
|
+
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
7129
|
+
segment.stylesheets.forEach(
|
7130
|
+
hoistStylesheetDependency,
|
7131
|
+
hoistableState
|
7132
|
+
));
|
7133
|
+
writeChunkAndReturn(destination, startCompletedSuspenseBoundary);
|
7134
|
+
segment = boundary.completedSegments;
|
7135
|
+
if (1 !== segment.length)
|
7136
|
+
throw Error(
|
7137
|
+
"A previously unvisited boundary must have exactly one root segment. This is a bug in React."
|
7138
|
+
);
|
7139
|
+
flushSegment(request, destination, segment[0], hoistableState);
|
7140
|
+
}
|
7168
7141
|
return writeChunkAndReturn(destination, endSuspenseBoundary);
|
7169
7142
|
}
|
7170
7143
|
function flushSegmentContainer(
|
@@ -7669,11 +7642,11 @@
|
|
7669
7642
|
}
|
7670
7643
|
function ensureCorrectIsomorphicReactVersion() {
|
7671
7644
|
var isomorphicReactPackageVersion = React.version;
|
7672
|
-
if ("19.2.0-canary-
|
7645
|
+
if ("19.2.0-canary-39cad7af-20250411" !== isomorphicReactPackageVersion)
|
7673
7646
|
throw Error(
|
7674
7647
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
7675
7648
|
(isomorphicReactPackageVersion +
|
7676
|
-
"\n - react-dom: 19.2.0-canary-
|
7649
|
+
"\n - react-dom: 19.2.0-canary-39cad7af-20250411\nLearn more: https://react.dev/warnings/version-mismatch")
|
7677
7650
|
);
|
7678
7651
|
}
|
7679
7652
|
function createDrainHandler(destination, request) {
|
@@ -8825,8 +8798,7 @@
|
|
8825
8798
|
),
|
8826
8799
|
importMapScriptEnd = stringToPrecomputedChunk("\x3c/script>");
|
8827
8800
|
var didWarnForNewBooleanPropsWithEmptyValue = {};
|
8828
|
-
var
|
8829
|
-
ROOT_HTML_MODE = 0,
|
8801
|
+
var ROOT_HTML_MODE = 0,
|
8830
8802
|
HTML_HTML_MODE = 1,
|
8831
8803
|
HTML_MODE = 2,
|
8832
8804
|
HTML_HEAD_MODE = 3,
|
@@ -8871,6 +8843,12 @@
|
|
8871
8843
|
formStateMarkerIsMatching = stringToPrecomputedChunk("\x3c!--F!--\x3e"),
|
8872
8844
|
formStateMarkerIsNotMatching = stringToPrecomputedChunk("\x3c!--F--\x3e"),
|
8873
8845
|
styleRegex = /(<\/|<)(s)(tyle)/gi,
|
8846
|
+
headPreambleContributionChunk =
|
8847
|
+
stringToPrecomputedChunk("\x3c!--head--\x3e"),
|
8848
|
+
bodyPreambleContributionChunk =
|
8849
|
+
stringToPrecomputedChunk("\x3c!--body--\x3e"),
|
8850
|
+
htmlPreambleContributionChunk =
|
8851
|
+
stringToPrecomputedChunk("\x3c!--html--\x3e"),
|
8874
8852
|
leadingNewline = stringToPrecomputedChunk("\n"),
|
8875
8853
|
VALID_TAG_REGEX = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,
|
8876
8854
|
validatedTagCache = new Map(),
|
@@ -8903,9 +8881,6 @@
|
|
8903
8881
|
stringToPrecomputedChunk(' data-cstck="'),
|
8904
8882
|
clientRenderedSuspenseBoundaryError2 =
|
8905
8883
|
stringToPrecomputedChunk("></template>"),
|
8906
|
-
boundaryPreambleContributionChunkStart =
|
8907
|
-
stringToPrecomputedChunk("\x3c!--"),
|
8908
|
-
boundaryPreambleContributionChunkEnd = stringToPrecomputedChunk("--\x3e"),
|
8909
8884
|
startSegmentHTML = stringToPrecomputedChunk('<div hidden id="'),
|
8910
8885
|
startSegmentHTML2 = stringToPrecomputedChunk('">'),
|
8911
8886
|
endSegmentHTML = stringToPrecomputedChunk("</div>"),
|
@@ -9340,5 +9315,5 @@
|
|
9340
9315
|
}
|
9341
9316
|
};
|
9342
9317
|
};
|
9343
|
-
exports.version = "19.2.0-canary-
|
9318
|
+
exports.version = "19.2.0-canary-39cad7af-20250411";
|
9344
9319
|
})();
|