react-dom 19.1.0-canary-0a82580b-20250203 → 19.1.0-canary-d85cf3e5-20250205
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 +377 -361
- package/cjs/react-dom-client.production.js +214 -191
- package/cjs/react-dom-profiling.development.js +377 -361
- package/cjs/react-dom-profiling.profiling.js +214 -191
- package/cjs/react-dom-server-legacy.browser.development.js +73 -28
- package/cjs/react-dom-server-legacy.browser.production.js +97 -52
- package/cjs/react-dom-server-legacy.node.development.js +73 -28
- package/cjs/react-dom-server-legacy.node.production.js +97 -52
- package/cjs/react-dom-server.browser.development.js +90 -38
- package/cjs/react-dom-server.browser.production.js +94 -39
- package/cjs/react-dom-server.bun.development.js +91 -37
- package/cjs/react-dom-server.bun.production.js +94 -42
- package/cjs/react-dom-server.edge.development.js +90 -38
- package/cjs/react-dom-server.edge.production.js +97 -42
- package/cjs/react-dom-server.node.development.js +90 -38
- package/cjs/react-dom-server.node.production.js +97 -42
- 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
@@ -959,7 +959,12 @@
|
|
959
959
|
};
|
960
960
|
}
|
961
961
|
function createPreambleState() {
|
962
|
-
return {
|
962
|
+
return {
|
963
|
+
htmlChunks: null,
|
964
|
+
headChunks: null,
|
965
|
+
bodyChunks: null,
|
966
|
+
contribution: NoContribution
|
967
|
+
};
|
963
968
|
}
|
964
969
|
function createFormatContext(insertionMode, selectedValue, tagScope) {
|
965
970
|
return {
|
@@ -1686,6 +1691,29 @@
|
|
1686
1691
|
target.push(endChunkForTag("script"));
|
1687
1692
|
return null;
|
1688
1693
|
}
|
1694
|
+
function pushStartSingletonElement(target, props, tag) {
|
1695
|
+
target.push(startChunkForTag(tag));
|
1696
|
+
var innerHTML = (tag = null),
|
1697
|
+
propKey;
|
1698
|
+
for (propKey in props)
|
1699
|
+
if (hasOwnProperty.call(props, propKey)) {
|
1700
|
+
var propValue = props[propKey];
|
1701
|
+
if (null != propValue)
|
1702
|
+
switch (propKey) {
|
1703
|
+
case "children":
|
1704
|
+
tag = propValue;
|
1705
|
+
break;
|
1706
|
+
case "dangerouslySetInnerHTML":
|
1707
|
+
innerHTML = propValue;
|
1708
|
+
break;
|
1709
|
+
default:
|
1710
|
+
pushAttribute(target, propKey, propValue);
|
1711
|
+
}
|
1712
|
+
}
|
1713
|
+
target.push(endOfStartTag);
|
1714
|
+
pushInnerHTML(target, innerHTML, tag);
|
1715
|
+
return tag;
|
1716
|
+
}
|
1689
1717
|
function pushStartGenericElement(target, props, tag) {
|
1690
1718
|
target.push(startChunkForTag(tag));
|
1691
1719
|
var innerHTML = (tag = null),
|
@@ -2886,7 +2914,7 @@
|
|
2886
2914
|
if (preamble.headChunks)
|
2887
2915
|
throw Error("The `<head>` tag may only be rendered once.");
|
2888
2916
|
preamble.headChunks = [];
|
2889
|
-
var JSCompiler_inline_result$jscomp$9 =
|
2917
|
+
var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
|
2890
2918
|
preamble.headChunks,
|
2891
2919
|
props,
|
2892
2920
|
"head"
|
@@ -2904,7 +2932,7 @@
|
|
2904
2932
|
if (preamble$jscomp$0.bodyChunks)
|
2905
2933
|
throw Error("The `<body>` tag may only be rendered once.");
|
2906
2934
|
preamble$jscomp$0.bodyChunks = [];
|
2907
|
-
var JSCompiler_inline_result$jscomp$10 =
|
2935
|
+
var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
|
2908
2936
|
preamble$jscomp$0.bodyChunks,
|
2909
2937
|
props,
|
2910
2938
|
"body"
|
@@ -2922,7 +2950,7 @@
|
|
2922
2950
|
if (preamble$jscomp$1.htmlChunks)
|
2923
2951
|
throw Error("The `<html>` tag may only be rendered once.");
|
2924
2952
|
preamble$jscomp$1.htmlChunks = [doctypeChunk];
|
2925
|
-
var JSCompiler_inline_result$jscomp$11 =
|
2953
|
+
var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
|
2926
2954
|
preamble$jscomp$1.htmlChunks,
|
2927
2955
|
props,
|
2928
2956
|
"html"
|
@@ -3004,11 +3032,17 @@
|
|
3004
3032
|
function hoistPreambleState(renderState, preambleState) {
|
3005
3033
|
renderState = renderState.preamble;
|
3006
3034
|
null === renderState.htmlChunks &&
|
3007
|
-
|
3035
|
+
preambleState.htmlChunks &&
|
3036
|
+
((renderState.htmlChunks = preambleState.htmlChunks),
|
3037
|
+
(preambleState.contribution |= 1));
|
3008
3038
|
null === renderState.headChunks &&
|
3009
|
-
|
3039
|
+
preambleState.headChunks &&
|
3040
|
+
((renderState.headChunks = preambleState.headChunks),
|
3041
|
+
(preambleState.contribution |= 4));
|
3010
3042
|
null === renderState.bodyChunks &&
|
3011
|
-
|
3043
|
+
preambleState.bodyChunks &&
|
3044
|
+
((renderState.bodyChunks = preambleState.bodyChunks),
|
3045
|
+
(preambleState.contribution |= 2));
|
3012
3046
|
}
|
3013
3047
|
function writeBootstrap(destination, renderState) {
|
3014
3048
|
renderState = renderState.bootstrapChunks;
|
@@ -3030,6 +3064,13 @@
|
|
3030
3064
|
writeChunk(destination, id.toString(16));
|
3031
3065
|
return writeChunkAndReturn(destination, startPendingSuspenseBoundary2);
|
3032
3066
|
}
|
3067
|
+
function writePreambleContribution(destination, preambleState) {
|
3068
|
+
preambleState = preambleState.contribution;
|
3069
|
+
preambleState !== NoContribution &&
|
3070
|
+
(writeChunk(destination, boundaryPreambleContributionChunkStart),
|
3071
|
+
writeChunk(destination, "" + preambleState),
|
3072
|
+
writeChunk(destination, boundaryPreambleContributionChunkEnd));
|
3073
|
+
}
|
3033
3074
|
function writeStartSegment(destination, renderState, formatContext, id) {
|
3034
3075
|
switch (formatContext.insertionMode) {
|
3035
3076
|
case ROOT_HTML_MODE:
|
@@ -6855,8 +6896,8 @@
|
|
6855
6896
|
if (boundary.status === CLIENT_RENDERED) {
|
6856
6897
|
var errorDigest = boundary.errorDigest,
|
6857
6898
|
errorMessage = boundary.errorMessage,
|
6858
|
-
errorStack = boundary.errorStack
|
6859
|
-
|
6899
|
+
errorStack = boundary.errorStack,
|
6900
|
+
errorComponentStack = boundary.errorComponentStack;
|
6860
6901
|
writeChunkAndReturn(destination, startClientRenderedSuspenseBoundary);
|
6861
6902
|
writeChunk(destination, clientRenderedSuspenseBoundaryError1);
|
6862
6903
|
errorDigest &&
|
@@ -6880,18 +6921,23 @@
|
|
6880
6921
|
destination,
|
6881
6922
|
clientRenderedSuspenseBoundaryErrorAttrInterstitial
|
6882
6923
|
));
|
6883
|
-
|
6924
|
+
errorComponentStack &&
|
6884
6925
|
(writeChunk(destination, clientRenderedSuspenseBoundaryError1D),
|
6885
|
-
writeChunk(destination, escapeTextForBrowser(
|
6926
|
+
writeChunk(destination, escapeTextForBrowser(errorComponentStack)),
|
6886
6927
|
writeChunk(
|
6887
6928
|
destination,
|
6888
6929
|
clientRenderedSuspenseBoundaryErrorAttrInterstitial
|
6889
6930
|
));
|
6890
6931
|
writeChunkAndReturn(destination, clientRenderedSuspenseBoundaryError2);
|
6891
6932
|
flushSubtree(request, destination, segment, hoistableState);
|
6892
|
-
|
6893
|
-
|
6894
|
-
|
6933
|
+
(request = boundary.fallbackPreamble) &&
|
6934
|
+
writePreambleContribution(destination, request);
|
6935
|
+
return writeChunkAndReturn(destination, endSuspenseBoundary);
|
6936
|
+
}
|
6937
|
+
if (boundary.status !== COMPLETED)
|
6938
|
+
return (
|
6939
|
+
boundary.status === PENDING &&
|
6940
|
+
(boundary.rootSegmentID = request.nextSegmentId++),
|
6895
6941
|
0 < boundary.completedSegments.length &&
|
6896
6942
|
request.partialBoundaries.push(boundary),
|
6897
6943
|
writeStartPendingSuspenseBoundary(
|
@@ -6906,32 +6952,34 @@
|
|
6906
6952
|
hoistStylesheetDependency,
|
6907
6953
|
hoistableState
|
6908
6954
|
)),
|
6909
|
-
flushSubtree(request, destination, segment, hoistableState)
|
6910
|
-
|
6911
|
-
|
6955
|
+
flushSubtree(request, destination, segment, hoistableState),
|
6956
|
+
writeChunkAndReturn(destination, endSuspenseBoundary)
|
6957
|
+
);
|
6958
|
+
if (boundary.byteSize > request.progressiveChunkSize)
|
6959
|
+
return (
|
6960
|
+
(boundary.rootSegmentID = request.nextSegmentId++),
|
6912
6961
|
request.completedBoundaries.push(boundary),
|
6913
6962
|
writeStartPendingSuspenseBoundary(
|
6914
6963
|
destination,
|
6915
6964
|
request.renderState,
|
6916
6965
|
boundary.rootSegmentID
|
6917
6966
|
),
|
6918
|
-
flushSubtree(request, destination, segment, hoistableState)
|
6919
|
-
|
6920
|
-
|
6921
|
-
|
6922
|
-
|
6923
|
-
|
6924
|
-
|
6925
|
-
|
6926
|
-
|
6927
|
-
|
6928
|
-
|
6929
|
-
|
6930
|
-
|
6931
|
-
|
6932
|
-
|
6933
|
-
|
6934
|
-
}
|
6967
|
+
flushSubtree(request, destination, segment, hoistableState),
|
6968
|
+
writeChunkAndReturn(destination, endSuspenseBoundary)
|
6969
|
+
);
|
6970
|
+
hoistableState &&
|
6971
|
+
((segment = boundary.contentState),
|
6972
|
+
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
6973
|
+
segment.stylesheets.forEach(hoistStylesheetDependency, hoistableState));
|
6974
|
+
writeChunkAndReturn(destination, startCompletedSuspenseBoundary);
|
6975
|
+
segment = boundary.completedSegments;
|
6976
|
+
if (1 !== segment.length)
|
6977
|
+
throw Error(
|
6978
|
+
"A previously unvisited boundary must have exactly one root segment. This is a bug in React."
|
6979
|
+
);
|
6980
|
+
flushSegment(request, destination, segment[0], hoistableState);
|
6981
|
+
(request = boundary.contentPreamble) &&
|
6982
|
+
writePreambleContribution(destination, request);
|
6935
6983
|
return writeChunkAndReturn(destination, endSuspenseBoundary);
|
6936
6984
|
}
|
6937
6985
|
function flushSegmentContainer(
|
@@ -7432,11 +7480,11 @@
|
|
7432
7480
|
}
|
7433
7481
|
function ensureCorrectIsomorphicReactVersion() {
|
7434
7482
|
var isomorphicReactPackageVersion = React.version;
|
7435
|
-
if ("19.1.0-canary-
|
7483
|
+
if ("19.1.0-canary-d85cf3e5-20250205" !== isomorphicReactPackageVersion)
|
7436
7484
|
throw Error(
|
7437
7485
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
7438
7486
|
(isomorphicReactPackageVersion +
|
7439
|
-
"\n - react-dom: 19.1.0-canary-
|
7487
|
+
"\n - react-dom: 19.1.0-canary-d85cf3e5-20250205\nLearn more: https://react.dev/warnings/version-mismatch")
|
7440
7488
|
);
|
7441
7489
|
}
|
7442
7490
|
function createDrainHandler(destination, request) {
|
@@ -8587,7 +8635,8 @@
|
|
8587
8635
|
),
|
8588
8636
|
importMapScriptEnd = stringToPrecomputedChunk("\x3c/script>");
|
8589
8637
|
var didWarnForNewBooleanPropsWithEmptyValue = {};
|
8590
|
-
var
|
8638
|
+
var NoContribution = 0,
|
8639
|
+
ROOT_HTML_MODE = 0,
|
8591
8640
|
HTML_HTML_MODE = 1,
|
8592
8641
|
HTML_MODE = 2,
|
8593
8642
|
HTML_HEAD_MODE = 3,
|
@@ -8662,6 +8711,9 @@
|
|
8662
8711
|
stringToPrecomputedChunk(' data-cstck="'),
|
8663
8712
|
clientRenderedSuspenseBoundaryError2 =
|
8664
8713
|
stringToPrecomputedChunk("></template>"),
|
8714
|
+
boundaryPreambleContributionChunkStart =
|
8715
|
+
stringToPrecomputedChunk("\x3c!--"),
|
8716
|
+
boundaryPreambleContributionChunkEnd = stringToPrecomputedChunk("--\x3e"),
|
8665
8717
|
startSegmentHTML = stringToPrecomputedChunk('<div hidden id="'),
|
8666
8718
|
startSegmentHTML2 = stringToPrecomputedChunk('">'),
|
8667
8719
|
endSegmentHTML = stringToPrecomputedChunk("</div>"),
|
@@ -9081,5 +9133,5 @@
|
|
9081
9133
|
}
|
9082
9134
|
};
|
9083
9135
|
};
|
9084
|
-
exports.version = "19.1.0-canary-
|
9136
|
+
exports.version = "19.1.0-canary-d85cf3e5-20250205";
|
9085
9137
|
})();
|
@@ -523,7 +523,12 @@ function createResumableState(
|
|
523
523
|
};
|
524
524
|
}
|
525
525
|
function createPreambleState() {
|
526
|
-
return {
|
526
|
+
return {
|
527
|
+
htmlChunks: null,
|
528
|
+
headChunks: null,
|
529
|
+
bodyChunks: null,
|
530
|
+
contribution: 0
|
531
|
+
};
|
527
532
|
}
|
528
533
|
function createFormatContext(insertionMode, selectedValue, tagScope) {
|
529
534
|
return {
|
@@ -1091,6 +1096,29 @@ function pushScriptImpl(target, props) {
|
|
1091
1096
|
target.push(endChunkForTag("script"));
|
1092
1097
|
return null;
|
1093
1098
|
}
|
1099
|
+
function pushStartSingletonElement(target, props, tag) {
|
1100
|
+
target.push(startChunkForTag(tag));
|
1101
|
+
var innerHTML = (tag = null),
|
1102
|
+
propKey;
|
1103
|
+
for (propKey in props)
|
1104
|
+
if (hasOwnProperty.call(props, propKey)) {
|
1105
|
+
var propValue = props[propKey];
|
1106
|
+
if (null != propValue)
|
1107
|
+
switch (propKey) {
|
1108
|
+
case "children":
|
1109
|
+
tag = propValue;
|
1110
|
+
break;
|
1111
|
+
case "dangerouslySetInnerHTML":
|
1112
|
+
innerHTML = propValue;
|
1113
|
+
break;
|
1114
|
+
default:
|
1115
|
+
pushAttribute(target, propKey, propValue);
|
1116
|
+
}
|
1117
|
+
}
|
1118
|
+
target.push(endOfStartTag);
|
1119
|
+
pushInnerHTML(target, innerHTML, tag);
|
1120
|
+
return tag;
|
1121
|
+
}
|
1094
1122
|
function pushStartGenericElement(target, props, tag) {
|
1095
1123
|
target.push(startChunkForTag(tag));
|
1096
1124
|
var innerHTML = (tag = null),
|
@@ -2043,7 +2071,7 @@ function pushStartInstance(
|
|
2043
2071
|
if (preamble.headChunks)
|
2044
2072
|
throw Error("The `<head>` tag may only be rendered once.");
|
2045
2073
|
preamble.headChunks = [];
|
2046
|
-
var JSCompiler_inline_result$jscomp$9 =
|
2074
|
+
var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
|
2047
2075
|
preamble.headChunks,
|
2048
2076
|
props,
|
2049
2077
|
"head"
|
@@ -2061,7 +2089,7 @@ function pushStartInstance(
|
|
2061
2089
|
if (preamble$jscomp$0.bodyChunks)
|
2062
2090
|
throw Error("The `<body>` tag may only be rendered once.");
|
2063
2091
|
preamble$jscomp$0.bodyChunks = [];
|
2064
|
-
var JSCompiler_inline_result$jscomp$10 =
|
2092
|
+
var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
|
2065
2093
|
preamble$jscomp$0.bodyChunks,
|
2066
2094
|
props,
|
2067
2095
|
"body"
|
@@ -2079,7 +2107,7 @@ function pushStartInstance(
|
|
2079
2107
|
if (preamble$jscomp$1.htmlChunks)
|
2080
2108
|
throw Error("The `<html>` tag may only be rendered once.");
|
2081
2109
|
preamble$jscomp$1.htmlChunks = [doctypeChunk];
|
2082
|
-
var JSCompiler_inline_result$jscomp$11 =
|
2110
|
+
var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
|
2083
2111
|
preamble$jscomp$1.htmlChunks,
|
2084
2112
|
props,
|
2085
2113
|
"html"
|
@@ -2156,11 +2184,17 @@ function endChunkForTag(tag) {
|
|
2156
2184
|
function hoistPreambleState(renderState, preambleState) {
|
2157
2185
|
renderState = renderState.preamble;
|
2158
2186
|
null === renderState.htmlChunks &&
|
2159
|
-
|
2187
|
+
preambleState.htmlChunks &&
|
2188
|
+
((renderState.htmlChunks = preambleState.htmlChunks),
|
2189
|
+
(preambleState.contribution |= 1));
|
2160
2190
|
null === renderState.headChunks &&
|
2161
|
-
|
2191
|
+
preambleState.headChunks &&
|
2192
|
+
((renderState.headChunks = preambleState.headChunks),
|
2193
|
+
(preambleState.contribution |= 4));
|
2162
2194
|
null === renderState.bodyChunks &&
|
2163
|
-
|
2195
|
+
preambleState.bodyChunks &&
|
2196
|
+
((renderState.bodyChunks = preambleState.bodyChunks),
|
2197
|
+
(preambleState.contribution |= 2));
|
2164
2198
|
}
|
2165
2199
|
function writeBootstrap(destination, renderState) {
|
2166
2200
|
renderState = renderState.bootstrapChunks;
|
@@ -2202,6 +2236,16 @@ function writeStartPendingSuspenseBoundary(destination, renderState, id) {
|
|
2202
2236
|
writeChunk(destination, id.toString(16));
|
2203
2237
|
return writeChunkAndReturn(destination, startPendingSuspenseBoundary2);
|
2204
2238
|
}
|
2239
|
+
var boundaryPreambleContributionChunkStart =
|
2240
|
+
stringToPrecomputedChunk("\x3c!--"),
|
2241
|
+
boundaryPreambleContributionChunkEnd = stringToPrecomputedChunk("--\x3e");
|
2242
|
+
function writePreambleContribution(destination, preambleState) {
|
2243
|
+
preambleState = preambleState.contribution;
|
2244
|
+
0 !== preambleState &&
|
2245
|
+
(writeChunk(destination, boundaryPreambleContributionChunkStart),
|
2246
|
+
writeChunk(destination, "" + preambleState),
|
2247
|
+
writeChunk(destination, boundaryPreambleContributionChunkEnd));
|
2248
|
+
}
|
2205
2249
|
var startSegmentHTML = stringToPrecomputedChunk('<div hidden id="'),
|
2206
2250
|
startSegmentHTML2 = stringToPrecomputedChunk('">'),
|
2207
2251
|
endSegmentHTML = stringToPrecomputedChunk("</div>"),
|
@@ -5704,21 +5748,27 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
5704
5748
|
if (null === boundary)
|
5705
5749
|
return flushSubtree(request, destination, segment, hoistableState);
|
5706
5750
|
boundary.parentFlushed = !0;
|
5707
|
-
if (4 === boundary.status)
|
5708
|
-
|
5709
|
-
|
5710
|
-
|
5711
|
-
|
5712
|
-
|
5713
|
-
|
5714
|
-
|
5715
|
-
|
5716
|
-
|
5717
|
-
|
5718
|
-
|
5719
|
-
|
5720
|
-
|
5721
|
-
|
5751
|
+
if (4 === boundary.status) {
|
5752
|
+
var errorDigest = boundary.errorDigest;
|
5753
|
+
writeChunkAndReturn(destination, startClientRenderedSuspenseBoundary);
|
5754
|
+
writeChunk(destination, clientRenderedSuspenseBoundaryError1);
|
5755
|
+
errorDigest &&
|
5756
|
+
(writeChunk(destination, clientRenderedSuspenseBoundaryError1A),
|
5757
|
+
writeChunk(destination, escapeTextForBrowser(errorDigest)),
|
5758
|
+
writeChunk(
|
5759
|
+
destination,
|
5760
|
+
clientRenderedSuspenseBoundaryErrorAttrInterstitial
|
5761
|
+
));
|
5762
|
+
writeChunkAndReturn(destination, clientRenderedSuspenseBoundaryError2);
|
5763
|
+
flushSubtree(request, destination, segment, hoistableState);
|
5764
|
+
(request = boundary.fallbackPreamble) &&
|
5765
|
+
writePreambleContribution(destination, request);
|
5766
|
+
return writeChunkAndReturn(destination, endSuspenseBoundary);
|
5767
|
+
}
|
5768
|
+
if (1 !== boundary.status)
|
5769
|
+
return (
|
5770
|
+
0 === boundary.status &&
|
5771
|
+
(boundary.rootSegmentID = request.nextSegmentId++),
|
5722
5772
|
0 < boundary.completedSegments.length &&
|
5723
5773
|
request.partialBoundaries.push(boundary),
|
5724
5774
|
writeStartPendingSuspenseBoundary(
|
@@ -5733,29 +5783,34 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
5733
5783
|
hoistStylesheetDependency,
|
5734
5784
|
hoistableState
|
5735
5785
|
)),
|
5736
|
-
flushSubtree(request, destination, segment, hoistableState)
|
5737
|
-
|
5738
|
-
|
5786
|
+
flushSubtree(request, destination, segment, hoistableState),
|
5787
|
+
writeChunkAndReturn(destination, endSuspenseBoundary)
|
5788
|
+
);
|
5789
|
+
if (boundary.byteSize > request.progressiveChunkSize)
|
5790
|
+
return (
|
5791
|
+
(boundary.rootSegmentID = request.nextSegmentId++),
|
5739
5792
|
request.completedBoundaries.push(boundary),
|
5740
5793
|
writeStartPendingSuspenseBoundary(
|
5741
5794
|
destination,
|
5742
5795
|
request.renderState,
|
5743
5796
|
boundary.rootSegmentID
|
5744
5797
|
),
|
5745
|
-
flushSubtree(request, destination, segment, hoistableState)
|
5746
|
-
|
5747
|
-
|
5748
|
-
|
5749
|
-
|
5750
|
-
|
5751
|
-
|
5752
|
-
|
5753
|
-
|
5754
|
-
|
5755
|
-
|
5756
|
-
|
5757
|
-
|
5758
|
-
|
5798
|
+
flushSubtree(request, destination, segment, hoistableState),
|
5799
|
+
writeChunkAndReturn(destination, endSuspenseBoundary)
|
5800
|
+
);
|
5801
|
+
hoistableState &&
|
5802
|
+
((segment = boundary.contentState),
|
5803
|
+
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
5804
|
+
segment.stylesheets.forEach(hoistStylesheetDependency, hoistableState));
|
5805
|
+
writeChunkAndReturn(destination, startCompletedSuspenseBoundary);
|
5806
|
+
segment = boundary.completedSegments;
|
5807
|
+
if (1 !== segment.length)
|
5808
|
+
throw Error(
|
5809
|
+
"A previously unvisited boundary must have exactly one root segment. This is a bug in React."
|
5810
|
+
);
|
5811
|
+
flushSegment(request, destination, segment[0], hoistableState);
|
5812
|
+
(request = boundary.contentPreamble) &&
|
5813
|
+
writePreambleContribution(destination, request);
|
5759
5814
|
return writeChunkAndReturn(destination, endSuspenseBoundary);
|
5760
5815
|
}
|
5761
5816
|
function flushSegmentContainer(request, destination, segment, hoistableState) {
|
@@ -6157,11 +6212,11 @@ function abort(request, reason) {
|
|
6157
6212
|
}
|
6158
6213
|
function ensureCorrectIsomorphicReactVersion() {
|
6159
6214
|
var isomorphicReactPackageVersion = React.version;
|
6160
|
-
if ("19.1.0-canary-
|
6215
|
+
if ("19.1.0-canary-d85cf3e5-20250205" !== isomorphicReactPackageVersion)
|
6161
6216
|
throw Error(
|
6162
6217
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
6163
6218
|
(isomorphicReactPackageVersion +
|
6164
|
-
"\n - react-dom: 19.1.0-canary-
|
6219
|
+
"\n - react-dom: 19.1.0-canary-d85cf3e5-20250205\nLearn more: https://react.dev/warnings/version-mismatch")
|
6165
6220
|
);
|
6166
6221
|
}
|
6167
6222
|
ensureCorrectIsomorphicReactVersion();
|
@@ -6310,4 +6365,4 @@ exports.renderToPipeableStream = function (children, options) {
|
|
6310
6365
|
}
|
6311
6366
|
};
|
6312
6367
|
};
|
6313
|
-
exports.version = "19.1.0-canary-
|
6368
|
+
exports.version = "19.1.0-canary-d85cf3e5-20250205";
|
@@ -416,7 +416,7 @@
|
|
416
416
|
exports.useFormStatus = function () {
|
417
417
|
return resolveDispatcher().useHostTransitionStatus();
|
418
418
|
};
|
419
|
-
exports.version = "19.1.0-canary-
|
419
|
+
exports.version = "19.1.0-canary-d85cf3e5-20250205";
|
420
420
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
421
421
|
"function" ===
|
422
422
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
@@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
207
207
|
exports.useFormStatus = function () {
|
208
208
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
209
209
|
};
|
210
|
-
exports.version = "19.1.0-canary-
|
210
|
+
exports.version = "19.1.0-canary-d85cf3e5-20250205";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-dom",
|
3
|
-
"version": "19.1.0-canary-
|
3
|
+
"version": "19.1.0-canary-d85cf3e5-20250205",
|
4
4
|
"description": "React package for working with the DOM.",
|
5
5
|
"main": "index.js",
|
6
6
|
"repository": {
|
@@ -17,10 +17,10 @@
|
|
17
17
|
},
|
18
18
|
"homepage": "https://react.dev/",
|
19
19
|
"dependencies": {
|
20
|
-
"scheduler": "0.26.0-canary-
|
20
|
+
"scheduler": "0.26.0-canary-d85cf3e5-20250205"
|
21
21
|
},
|
22
22
|
"peerDependencies": {
|
23
|
-
"react": "19.1.0-canary-
|
23
|
+
"react": "19.1.0-canary-d85cf3e5-20250205"
|
24
24
|
},
|
25
25
|
"files": [
|
26
26
|
"LICENSE",
|