react-dom 19.2.0-canary-33661467-20250407 → 19.2.0-canary-3fbfb9ba-20250409
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 +386 -331
- package/cjs/react-dom-client.production.js +225 -176
- package/cjs/react-dom-profiling.development.js +386 -331
- package/cjs/react-dom-profiling.profiling.js +231 -183
- package/cjs/react-dom-server-legacy.browser.development.js +36 -8
- package/cjs/react-dom-server-legacy.browser.production.js +57 -37
- package/cjs/react-dom-server-legacy.node.development.js +36 -8
- package/cjs/react-dom-server-legacy.node.production.js +57 -37
- package/cjs/react-dom-server.browser.development.js +37 -10
- package/cjs/react-dom-server.browser.production.js +41 -17
- package/cjs/react-dom-server.bun.development.js +38 -13
- package/cjs/react-dom-server.bun.production.js +37 -20
- package/cjs/react-dom-server.edge.development.js +37 -10
- package/cjs/react-dom-server.edge.production.js +41 -17
- package/cjs/react-dom-server.node.development.js +37 -10
- package/cjs/react-dom-server.node.production.js +41 -17
- 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
@@ -2209,6 +2209,8 @@ function writeBootstrap(destination, renderState) {
|
|
2209
2209
|
}
|
2210
2210
|
var placeholder1 = stringToPrecomputedChunk('<template id="'),
|
2211
2211
|
placeholder2 = stringToPrecomputedChunk('"></template>'),
|
2212
|
+
startActivityBoundary = stringToPrecomputedChunk("\x3c!--&--\x3e"),
|
2213
|
+
endActivityBoundary = stringToPrecomputedChunk("\x3c!--/&--\x3e"),
|
2212
2214
|
startCompletedSuspenseBoundary = stringToPrecomputedChunk("\x3c!--$--\x3e"),
|
2213
2215
|
startPendingSuspenseBoundary1 = stringToPrecomputedChunk(
|
2214
2216
|
'\x3c!--$?--\x3e<template id="'
|
@@ -4441,11 +4443,33 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4441
4443
|
task.keyPath = type;
|
4442
4444
|
return;
|
4443
4445
|
case REACT_ACTIVITY_TYPE:
|
4444
|
-
|
4445
|
-
|
4446
|
-
|
4447
|
-
|
4448
|
-
|
4446
|
+
type = task.blockedSegment;
|
4447
|
+
if (null === type)
|
4448
|
+
"hidden" !== props.mode &&
|
4449
|
+
((type = task.keyPath),
|
4450
|
+
(task.keyPath = keyPath),
|
4451
|
+
renderNode(request, task, props.children, -1),
|
4452
|
+
(task.keyPath = type));
|
4453
|
+
else {
|
4454
|
+
type.chunks.push(startActivityBoundary);
|
4455
|
+
type.lastPushedText = !1;
|
4456
|
+
"hidden" !== props.mode &&
|
4457
|
+
((newProps = task.keyPath),
|
4458
|
+
(task.keyPath = keyPath),
|
4459
|
+
renderNode(request, task, props.children, -1),
|
4460
|
+
(task.keyPath = newProps));
|
4461
|
+
request = type.chunks;
|
4462
|
+
if ((task = task.blockedPreamble))
|
4463
|
+
(task = task.contribution),
|
4464
|
+
0 !== task &&
|
4465
|
+
request.push(
|
4466
|
+
boundaryPreambleContributionChunkStart,
|
4467
|
+
"" + task,
|
4468
|
+
boundaryPreambleContributionChunkEnd
|
4469
|
+
);
|
4470
|
+
request.push(endActivityBoundary);
|
4471
|
+
type.lastPushedText = !1;
|
4472
|
+
}
|
4449
4473
|
return;
|
4450
4474
|
case REACT_SUSPENSE_LIST_TYPE:
|
4451
4475
|
type = task.keyPath;
|
@@ -5175,15 +5199,15 @@ function renderNode(request, task, node, childIndex) {
|
|
5175
5199
|
chunkLength = segment.chunks.length;
|
5176
5200
|
try {
|
5177
5201
|
return renderNodeDestructive(request, task, node, childIndex);
|
5178
|
-
} catch (thrownValue$
|
5202
|
+
} catch (thrownValue$50) {
|
5179
5203
|
if (
|
5180
5204
|
(resetHooksState(),
|
5181
5205
|
(segment.children.length = childrenLength),
|
5182
5206
|
(segment.chunks.length = chunkLength),
|
5183
5207
|
(node =
|
5184
|
-
thrownValue$
|
5208
|
+
thrownValue$50 === SuspenseException
|
5185
5209
|
? getSuspendedThenable()
|
5186
|
-
: thrownValue$
|
5210
|
+
: thrownValue$50),
|
5187
5211
|
"object" === typeof node && null !== node)
|
5188
5212
|
) {
|
5189
5213
|
if ("function" === typeof node.then) {
|
@@ -6082,11 +6106,11 @@ function flushCompletedQueues(request, destination) {
|
|
6082
6106
|
destinationHasCapacity$1 = !0;
|
6083
6107
|
var partialBoundaries = request.partialBoundaries;
|
6084
6108
|
for (i = 0; i < partialBoundaries.length; i++) {
|
6085
|
-
var boundary$
|
6109
|
+
var boundary$53 = partialBoundaries[i];
|
6086
6110
|
a: {
|
6087
6111
|
clientRenderedBoundaries = request;
|
6088
6112
|
boundary = destination;
|
6089
|
-
var completedSegments = boundary$
|
6113
|
+
var completedSegments = boundary$53.completedSegments;
|
6090
6114
|
for (
|
6091
6115
|
JSCompiler_inline_result = 0;
|
6092
6116
|
JSCompiler_inline_result < completedSegments.length;
|
@@ -6096,7 +6120,7 @@ function flushCompletedQueues(request, destination) {
|
|
6096
6120
|
!flushPartiallyCompletedSegment(
|
6097
6121
|
clientRenderedBoundaries,
|
6098
6122
|
boundary,
|
6099
|
-
boundary$
|
6123
|
+
boundary$53,
|
6100
6124
|
completedSegments[JSCompiler_inline_result]
|
6101
6125
|
)
|
6102
6126
|
) {
|
@@ -6108,7 +6132,7 @@ function flushCompletedQueues(request, destination) {
|
|
6108
6132
|
completedSegments.splice(0, JSCompiler_inline_result);
|
6109
6133
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
6110
6134
|
boundary,
|
6111
|
-
boundary$
|
6135
|
+
boundary$53.contentState,
|
6112
6136
|
clientRenderedBoundaries.renderState
|
6113
6137
|
);
|
6114
6138
|
}
|
@@ -6210,17 +6234,17 @@ function abort(request, reason) {
|
|
6210
6234
|
}
|
6211
6235
|
null !== request.destination &&
|
6212
6236
|
flushCompletedQueues(request, request.destination);
|
6213
|
-
} catch (error$
|
6214
|
-
logRecoverableError(request, error$
|
6237
|
+
} catch (error$55) {
|
6238
|
+
logRecoverableError(request, error$55, {}), fatalError(request, error$55);
|
6215
6239
|
}
|
6216
6240
|
}
|
6217
6241
|
function ensureCorrectIsomorphicReactVersion() {
|
6218
6242
|
var isomorphicReactPackageVersion = React.version;
|
6219
|
-
if ("19.2.0-canary-
|
6243
|
+
if ("19.2.0-canary-3fbfb9ba-20250409" !== isomorphicReactPackageVersion)
|
6220
6244
|
throw Error(
|
6221
6245
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
6222
6246
|
(isomorphicReactPackageVersion +
|
6223
|
-
"\n - react-dom: 19.2.0-canary-
|
6247
|
+
"\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
|
6224
6248
|
);
|
6225
6249
|
}
|
6226
6250
|
ensureCorrectIsomorphicReactVersion();
|
@@ -6369,4 +6393,4 @@ exports.renderToPipeableStream = function (children, options) {
|
|
6369
6393
|
}
|
6370
6394
|
};
|
6371
6395
|
};
|
6372
|
-
exports.version = "19.2.0-canary-
|
6396
|
+
exports.version = "19.2.0-canary-3fbfb9ba-20250409";
|
@@ -416,7 +416,7 @@
|
|
416
416
|
exports.useFormStatus = function () {
|
417
417
|
return resolveDispatcher().useHostTransitionStatus();
|
418
418
|
};
|
419
|
-
exports.version = "19.2.0-canary-
|
419
|
+
exports.version = "19.2.0-canary-3fbfb9ba-20250409";
|
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.2.0-canary-
|
210
|
+
exports.version = "19.2.0-canary-3fbfb9ba-20250409";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-dom",
|
3
|
-
"version": "19.2.0-canary-
|
3
|
+
"version": "19.2.0-canary-3fbfb9ba-20250409",
|
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.27.0-canary-
|
20
|
+
"scheduler": "0.27.0-canary-3fbfb9ba-20250409"
|
21
21
|
},
|
22
22
|
"peerDependencies": {
|
23
|
-
"react": "19.2.0-canary-
|
23
|
+
"react": "19.2.0-canary-3fbfb9ba-20250409"
|
24
24
|
},
|
25
25
|
"files": [
|
26
26
|
"LICENSE",
|