react-dom 19.2.0-canary-12bc60f5-20250613 → 19.2.0-canary-79d9aed7-20250620
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 +12 -15
- package/cjs/react-dom-client.production.js +8 -5
- package/cjs/react-dom-profiling.development.js +12 -15
- package/cjs/react-dom-profiling.profiling.js +8 -5
- package/cjs/react-dom-server-legacy.browser.development.js +22 -14
- package/cjs/react-dom-server-legacy.browser.production.js +19 -10
- package/cjs/react-dom-server-legacy.node.development.js +22 -14
- package/cjs/react-dom-server-legacy.node.production.js +19 -10
- package/cjs/react-dom-server.browser.development.js +24 -16
- package/cjs/react-dom-server.browser.production.js +21 -12
- package/cjs/react-dom-server.bun.development.js +24 -12
- package/cjs/react-dom-server.bun.production.js +21 -12
- package/cjs/react-dom-server.edge.development.js +24 -16
- package/cjs/react-dom-server.edge.production.js +21 -12
- package/cjs/react-dom-server.node.development.js +24 -16
- package/cjs/react-dom-server.node.production.js +21 -12
- 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
|
@@ -6243,7 +6243,12 @@
|
|
|
6243
6243
|
null !== x &&
|
|
6244
6244
|
(x === SuspenseException || "function" === typeof x.then)
|
|
6245
6245
|
)
|
|
6246
|
-
throw (
|
|
6246
|
+
throw (
|
|
6247
|
+
(task.node === keyOrIndex
|
|
6248
|
+
? (task.replay = replay)
|
|
6249
|
+
: childIndex.splice(i, 1),
|
|
6250
|
+
x)
|
|
6251
|
+
);
|
|
6247
6252
|
task.replay.pendingTasks--;
|
|
6248
6253
|
type = getThrownInfo(task.componentStack);
|
|
6249
6254
|
props = request;
|
|
@@ -6797,7 +6802,8 @@
|
|
|
6797
6802
|
previousComponentStack = task.componentStack,
|
|
6798
6803
|
previousDebugTask = task.debugTask,
|
|
6799
6804
|
segment = task.blockedSegment;
|
|
6800
|
-
if (null === segment)
|
|
6805
|
+
if (null === segment) {
|
|
6806
|
+
segment = task.replay;
|
|
6801
6807
|
try {
|
|
6802
6808
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
6803
6809
|
} catch (thrownValue) {
|
|
@@ -6822,6 +6828,7 @@
|
|
|
6822
6828
|
task.keyPath = previousKeyPath;
|
|
6823
6829
|
task.treeContext = previousTreeContext;
|
|
6824
6830
|
task.componentStack = previousComponentStack;
|
|
6831
|
+
task.replay = segment;
|
|
6825
6832
|
task.debugTask = previousDebugTask;
|
|
6826
6833
|
switchContext(previousContext);
|
|
6827
6834
|
return;
|
|
@@ -6835,13 +6842,14 @@
|
|
|
6835
6842
|
task.keyPath = previousKeyPath;
|
|
6836
6843
|
task.treeContext = previousTreeContext;
|
|
6837
6844
|
task.componentStack = previousComponentStack;
|
|
6845
|
+
task.replay = segment;
|
|
6838
6846
|
task.debugTask = previousDebugTask;
|
|
6839
6847
|
switchContext(previousContext);
|
|
6840
6848
|
return;
|
|
6841
6849
|
}
|
|
6842
6850
|
}
|
|
6843
6851
|
}
|
|
6844
|
-
else {
|
|
6852
|
+
} else {
|
|
6845
6853
|
var childrenLength = segment.children.length,
|
|
6846
6854
|
chunkLength = segment.chunks.length;
|
|
6847
6855
|
try {
|
|
@@ -6858,13 +6866,10 @@
|
|
|
6858
6866
|
"object" === typeof node && null !== node)
|
|
6859
6867
|
) {
|
|
6860
6868
|
if ("function" === typeof node.then) {
|
|
6861
|
-
|
|
6862
|
-
|
|
6863
|
-
|
|
6864
|
-
|
|
6865
|
-
childIndex
|
|
6866
|
-
).ping;
|
|
6867
|
-
node.then(request, request);
|
|
6869
|
+
segment = node;
|
|
6870
|
+
node = getThenableStateAfterSuspending();
|
|
6871
|
+
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
6872
|
+
segment.then(request, request);
|
|
6868
6873
|
task.formatContext = previousFormatContext;
|
|
6869
6874
|
task.context = previousContext;
|
|
6870
6875
|
task.keyPath = previousKeyPath;
|
|
@@ -6875,9 +6880,9 @@
|
|
|
6875
6880
|
return;
|
|
6876
6881
|
}
|
|
6877
6882
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
6878
|
-
|
|
6879
|
-
|
|
6880
|
-
request.pingedTasks.push(
|
|
6883
|
+
segment = getThenableStateAfterSuspending();
|
|
6884
|
+
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
6885
|
+
request.pingedTasks.push(segment);
|
|
6881
6886
|
task.formatContext = previousFormatContext;
|
|
6882
6887
|
task.context = previousContext;
|
|
6883
6888
|
task.keyPath = previousKeyPath;
|
|
@@ -8310,11 +8315,11 @@
|
|
|
8310
8315
|
}
|
|
8311
8316
|
function ensureCorrectIsomorphicReactVersion() {
|
|
8312
8317
|
var isomorphicReactPackageVersion = React.version;
|
|
8313
|
-
if ("19.2.0-canary-
|
|
8318
|
+
if ("19.2.0-canary-79d9aed7-20250620" !== isomorphicReactPackageVersion)
|
|
8314
8319
|
throw Error(
|
|
8315
8320
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
8316
8321
|
(isomorphicReactPackageVersion +
|
|
8317
|
-
"\n - react-dom: 19.2.0-canary-
|
|
8322
|
+
"\n - react-dom: 19.2.0-canary-79d9aed7-20250620\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
8318
8323
|
);
|
|
8319
8324
|
}
|
|
8320
8325
|
function createDrainHandler(destination, request) {
|
|
@@ -9861,6 +9866,9 @@
|
|
|
9861
9866
|
getCacheForType: function () {
|
|
9862
9867
|
throw Error("Not implemented.");
|
|
9863
9868
|
},
|
|
9869
|
+
cacheSignal: function () {
|
|
9870
|
+
throw Error("Not implemented.");
|
|
9871
|
+
},
|
|
9864
9872
|
getOwner: function () {
|
|
9865
9873
|
return null === currentTaskInDEV
|
|
9866
9874
|
? null
|
|
@@ -10182,5 +10190,5 @@
|
|
|
10182
10190
|
startWork(request);
|
|
10183
10191
|
});
|
|
10184
10192
|
};
|
|
10185
|
-
exports.version = "19.2.0-canary-
|
|
10193
|
+
exports.version = "19.2.0-canary-79d9aed7-20250620";
|
|
10186
10194
|
})();
|
|
@@ -3724,6 +3724,9 @@ var HooksDispatcher = {
|
|
|
3724
3724
|
DefaultAsyncDispatcher = {
|
|
3725
3725
|
getCacheForType: function () {
|
|
3726
3726
|
throw Error("Not implemented.");
|
|
3727
|
+
},
|
|
3728
|
+
cacheSignal: function () {
|
|
3729
|
+
throw Error("Not implemented.");
|
|
3727
3730
|
}
|
|
3728
3731
|
};
|
|
3729
3732
|
function prepareStackTrace(error, structuredStackTrace) {
|
|
@@ -5182,7 +5185,9 @@ function retryNode(request, task) {
|
|
|
5182
5185
|
"function" === typeof x.then)
|
|
5183
5186
|
)
|
|
5184
5187
|
throw (
|
|
5185
|
-
(task.node === keyOrIndex
|
|
5188
|
+
(task.node === keyOrIndex
|
|
5189
|
+
? (task.replay = replay)
|
|
5190
|
+
: childIndex.splice(node, 1),
|
|
5186
5191
|
x)
|
|
5187
5192
|
);
|
|
5188
5193
|
task.replay.pendingTasks--;
|
|
@@ -5534,7 +5539,8 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5534
5539
|
previousTreeContext = task.treeContext,
|
|
5535
5540
|
previousComponentStack = task.componentStack,
|
|
5536
5541
|
segment = task.blockedSegment;
|
|
5537
|
-
if (null === segment)
|
|
5542
|
+
if (null === segment) {
|
|
5543
|
+
segment = task.replay;
|
|
5538
5544
|
try {
|
|
5539
5545
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
5540
5546
|
} catch (thrownValue) {
|
|
@@ -5555,6 +5561,7 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5555
5561
|
task.keyPath = previousKeyPath;
|
|
5556
5562
|
task.treeContext = previousTreeContext;
|
|
5557
5563
|
task.componentStack = previousComponentStack;
|
|
5564
|
+
task.replay = segment;
|
|
5558
5565
|
switchContext(previousContext);
|
|
5559
5566
|
return;
|
|
5560
5567
|
}
|
|
@@ -5567,12 +5574,13 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5567
5574
|
task.keyPath = previousKeyPath;
|
|
5568
5575
|
task.treeContext = previousTreeContext;
|
|
5569
5576
|
task.componentStack = previousComponentStack;
|
|
5577
|
+
task.replay = segment;
|
|
5570
5578
|
switchContext(previousContext);
|
|
5571
5579
|
return;
|
|
5572
5580
|
}
|
|
5573
5581
|
}
|
|
5574
5582
|
}
|
|
5575
|
-
else {
|
|
5583
|
+
} else {
|
|
5576
5584
|
var childrenLength = segment.children.length,
|
|
5577
5585
|
chunkLength = segment.chunks.length;
|
|
5578
5586
|
try {
|
|
@@ -5589,9 +5597,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5589
5597
|
"object" === typeof node && null !== node)
|
|
5590
5598
|
) {
|
|
5591
5599
|
if ("function" === typeof node.then) {
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5600
|
+
segment = node;
|
|
5601
|
+
node = getThenableStateAfterSuspending();
|
|
5602
|
+
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
5603
|
+
segment.then(request, request);
|
|
5595
5604
|
task.formatContext = previousFormatContext;
|
|
5596
5605
|
task.context = previousContext;
|
|
5597
5606
|
task.keyPath = previousKeyPath;
|
|
@@ -5601,9 +5610,9 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5601
5610
|
return;
|
|
5602
5611
|
}
|
|
5603
5612
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
request.pingedTasks.push(
|
|
5613
|
+
segment = getThenableStateAfterSuspending();
|
|
5614
|
+
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
5615
|
+
request.pingedTasks.push(segment);
|
|
5607
5616
|
task.formatContext = previousFormatContext;
|
|
5608
5617
|
task.context = previousContext;
|
|
5609
5618
|
task.keyPath = previousKeyPath;
|
|
@@ -6799,11 +6808,11 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
|
6799
6808
|
}
|
|
6800
6809
|
function ensureCorrectIsomorphicReactVersion() {
|
|
6801
6810
|
var isomorphicReactPackageVersion = React.version;
|
|
6802
|
-
if ("19.2.0-canary-
|
|
6811
|
+
if ("19.2.0-canary-79d9aed7-20250620" !== isomorphicReactPackageVersion)
|
|
6803
6812
|
throw Error(
|
|
6804
6813
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
6805
6814
|
(isomorphicReactPackageVersion +
|
|
6806
|
-
"\n - react-dom: 19.2.0-canary-
|
|
6815
|
+
"\n - react-dom: 19.2.0-canary-79d9aed7-20250620\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
6807
6816
|
);
|
|
6808
6817
|
}
|
|
6809
6818
|
ensureCorrectIsomorphicReactVersion();
|
|
@@ -7141,4 +7150,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
7141
7150
|
startWork(request);
|
|
7142
7151
|
});
|
|
7143
7152
|
};
|
|
7144
|
-
exports.version = "19.2.0-canary-
|
|
7153
|
+
exports.version = "19.2.0-canary-79d9aed7-20250620";
|
|
@@ -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-79d9aed7-20250620";
|
|
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-79d9aed7-20250620";
|
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-79d9aed7-20250620",
|
|
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-79d9aed7-20250620"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"react": "19.2.0-canary-
|
|
23
|
+
"react": "19.2.0-canary-79d9aed7-20250620"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
"LICENSE",
|