react-dom 19.2.0-canary-19baee81-20250725 → 19.2.0-canary-9be531cd-20250729
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 +45 -32
- package/cjs/react-dom-client.production.js +162 -183
- package/cjs/react-dom-profiling.development.js +45 -32
- package/cjs/react-dom-profiling.profiling.js +165 -186
- package/cjs/react-dom-server-legacy.browser.development.js +25 -7
- package/cjs/react-dom-server-legacy.browser.production.js +25 -7
- package/cjs/react-dom-server-legacy.node.development.js +25 -7
- package/cjs/react-dom-server-legacy.node.production.js +25 -7
- package/cjs/react-dom-server.browser.development.js +27 -9
- package/cjs/react-dom-server.browser.production.js +27 -9
- package/cjs/react-dom-server.bun.development.js +27 -9
- package/cjs/react-dom-server.bun.production.js +27 -9
- package/cjs/react-dom-server.edge.development.js +27 -9
- package/cjs/react-dom-server.edge.production.js +27 -9
- package/cjs/react-dom-server.node.development.js +27 -9
- package/cjs/react-dom-server.node.production.js +27 -9
- 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
@@ -6741,7 +6741,10 @@
|
|
6741
6741
|
"object" === typeof node && null !== node)
|
6742
6742
|
) {
|
6743
6743
|
if ("function" === typeof node.then) {
|
6744
|
-
childIndex =
|
6744
|
+
childIndex =
|
6745
|
+
thrownValue === SuspenseException
|
6746
|
+
? getThenableStateAfterSuspending()
|
6747
|
+
: null;
|
6745
6748
|
request = spawnNewSuspendedReplayTask(
|
6746
6749
|
request,
|
6747
6750
|
task,
|
@@ -6759,7 +6762,10 @@
|
|
6759
6762
|
return;
|
6760
6763
|
}
|
6761
6764
|
if ("Maximum call stack size exceeded" === node.message) {
|
6762
|
-
node =
|
6765
|
+
node =
|
6766
|
+
thrownValue === SuspenseException
|
6767
|
+
? getThenableStateAfterSuspending()
|
6768
|
+
: null;
|
6763
6769
|
node = spawnNewSuspendedReplayTask(request, task, node);
|
6764
6770
|
request.pingedTasks.push(node);
|
6765
6771
|
task.formatContext = previousFormatContext;
|
@@ -6792,7 +6798,10 @@
|
|
6792
6798
|
) {
|
6793
6799
|
if ("function" === typeof node.then) {
|
6794
6800
|
segment = node;
|
6795
|
-
node =
|
6801
|
+
node =
|
6802
|
+
thrownValue$3 === SuspenseException
|
6803
|
+
? getThenableStateAfterSuspending()
|
6804
|
+
: null;
|
6796
6805
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
6797
6806
|
segment.then(request, request);
|
6798
6807
|
task.formatContext = previousFormatContext;
|
@@ -6805,7 +6814,10 @@
|
|
6805
6814
|
return;
|
6806
6815
|
}
|
6807
6816
|
if ("Maximum call stack size exceeded" === node.message) {
|
6808
|
-
segment =
|
6817
|
+
segment =
|
6818
|
+
thrownValue$3 === SuspenseException
|
6819
|
+
? getThenableStateAfterSuspending()
|
6820
|
+
: null;
|
6809
6821
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
6810
6822
|
request.pingedTasks.push(segment);
|
6811
6823
|
task.formatContext = previousFormatContext;
|
@@ -7261,7 +7273,10 @@
|
|
7261
7273
|
) {
|
7262
7274
|
var ping = request.ping;
|
7263
7275
|
x.then(ping, ping);
|
7264
|
-
request.thenableState =
|
7276
|
+
request.thenableState =
|
7277
|
+
thrownValue === SuspenseException
|
7278
|
+
? getThenableStateAfterSuspending()
|
7279
|
+
: null;
|
7265
7280
|
} else {
|
7266
7281
|
request.replay.pendingTasks--;
|
7267
7282
|
request.abortSet.delete(request);
|
@@ -7347,7 +7362,10 @@
|
|
7347
7362
|
"function" === typeof x$jscomp$0.then
|
7348
7363
|
) {
|
7349
7364
|
request$jscomp$1.status = PENDING;
|
7350
|
-
errorDigest.thenableState =
|
7365
|
+
errorDigest.thenableState =
|
7366
|
+
thrownValue === SuspenseException
|
7367
|
+
? getThenableStateAfterSuspending()
|
7368
|
+
: null;
|
7351
7369
|
var ping$jscomp$0 = errorDigest.ping;
|
7352
7370
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
7353
7371
|
} else {
|
@@ -9716,5 +9734,5 @@
|
|
9716
9734
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
9717
9735
|
);
|
9718
9736
|
};
|
9719
|
-
exports.version = "19.2.0-canary-
|
9737
|
+
exports.version = "19.2.0-canary-9be531cd-20250729";
|
9720
9738
|
})();
|
@@ -5179,7 +5179,10 @@ function renderNode(request, task, node, childIndex) {
|
|
5179
5179
|
"object" === typeof node && null !== node)
|
5180
5180
|
) {
|
5181
5181
|
if ("function" === typeof node.then) {
|
5182
|
-
childIndex =
|
5182
|
+
childIndex =
|
5183
|
+
thrownValue === SuspenseException
|
5184
|
+
? getThenableStateAfterSuspending()
|
5185
|
+
: null;
|
5183
5186
|
request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
|
5184
5187
|
node.then(request, request);
|
5185
5188
|
task.formatContext = previousFormatContext;
|
@@ -5192,7 +5195,10 @@ function renderNode(request, task, node, childIndex) {
|
|
5192
5195
|
return;
|
5193
5196
|
}
|
5194
5197
|
if ("Maximum call stack size exceeded" === node.message) {
|
5195
|
-
node =
|
5198
|
+
node =
|
5199
|
+
thrownValue === SuspenseException
|
5200
|
+
? getThenableStateAfterSuspending()
|
5201
|
+
: null;
|
5196
5202
|
node = spawnNewSuspendedReplayTask(request, task, node);
|
5197
5203
|
request.pingedTasks.push(node);
|
5198
5204
|
task.formatContext = previousFormatContext;
|
@@ -5224,7 +5230,10 @@ function renderNode(request, task, node, childIndex) {
|
|
5224
5230
|
) {
|
5225
5231
|
if ("function" === typeof node.then) {
|
5226
5232
|
segment = node;
|
5227
|
-
node =
|
5233
|
+
node =
|
5234
|
+
thrownValue$60 === SuspenseException
|
5235
|
+
? getThenableStateAfterSuspending()
|
5236
|
+
: null;
|
5228
5237
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
5229
5238
|
segment.then(request, request);
|
5230
5239
|
task.formatContext = previousFormatContext;
|
@@ -5236,7 +5245,10 @@ function renderNode(request, task, node, childIndex) {
|
|
5236
5245
|
return;
|
5237
5246
|
}
|
5238
5247
|
if ("Maximum call stack size exceeded" === node.message) {
|
5239
|
-
segment =
|
5248
|
+
segment =
|
5249
|
+
thrownValue$60 === SuspenseException
|
5250
|
+
? getThenableStateAfterSuspending()
|
5251
|
+
: null;
|
5240
5252
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
5241
5253
|
request.pingedTasks.push(segment);
|
5242
5254
|
task.formatContext = previousFormatContext;
|
@@ -5632,7 +5644,10 @@ function performWork(request$jscomp$2) {
|
|
5632
5644
|
) {
|
5633
5645
|
var ping = task.ping;
|
5634
5646
|
x.then(ping, ping);
|
5635
|
-
task.thenableState =
|
5647
|
+
task.thenableState =
|
5648
|
+
thrownValue === SuspenseException
|
5649
|
+
? getThenableStateAfterSuspending()
|
5650
|
+
: null;
|
5636
5651
|
} else {
|
5637
5652
|
task.replay.pendingTasks--;
|
5638
5653
|
task.abortSet.delete(task);
|
@@ -5710,7 +5725,10 @@ function performWork(request$jscomp$2) {
|
|
5710
5725
|
"function" === typeof x$jscomp$0.then
|
5711
5726
|
) {
|
5712
5727
|
request$jscomp$1.status = 0;
|
5713
|
-
task.thenableState =
|
5728
|
+
task.thenableState =
|
5729
|
+
thrownValue === SuspenseException
|
5730
|
+
? getThenableStateAfterSuspending()
|
5731
|
+
: null;
|
5714
5732
|
var ping$jscomp$0 = task.ping;
|
5715
5733
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
5716
5734
|
} else {
|
@@ -6467,4 +6485,4 @@ exports.renderToString = function (children, options) {
|
|
6467
6485
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
6468
6486
|
);
|
6469
6487
|
};
|
6470
|
-
exports.version = "19.2.0-canary-
|
6488
|
+
exports.version = "19.2.0-canary-9be531cd-20250729";
|
@@ -6741,7 +6741,10 @@
|
|
6741
6741
|
"object" === typeof node && null !== node)
|
6742
6742
|
) {
|
6743
6743
|
if ("function" === typeof node.then) {
|
6744
|
-
childIndex =
|
6744
|
+
childIndex =
|
6745
|
+
thrownValue === SuspenseException
|
6746
|
+
? getThenableStateAfterSuspending()
|
6747
|
+
: null;
|
6745
6748
|
request = spawnNewSuspendedReplayTask(
|
6746
6749
|
request,
|
6747
6750
|
task,
|
@@ -6759,7 +6762,10 @@
|
|
6759
6762
|
return;
|
6760
6763
|
}
|
6761
6764
|
if ("Maximum call stack size exceeded" === node.message) {
|
6762
|
-
node =
|
6765
|
+
node =
|
6766
|
+
thrownValue === SuspenseException
|
6767
|
+
? getThenableStateAfterSuspending()
|
6768
|
+
: null;
|
6763
6769
|
node = spawnNewSuspendedReplayTask(request, task, node);
|
6764
6770
|
request.pingedTasks.push(node);
|
6765
6771
|
task.formatContext = previousFormatContext;
|
@@ -6792,7 +6798,10 @@
|
|
6792
6798
|
) {
|
6793
6799
|
if ("function" === typeof node.then) {
|
6794
6800
|
segment = node;
|
6795
|
-
node =
|
6801
|
+
node =
|
6802
|
+
thrownValue$3 === SuspenseException
|
6803
|
+
? getThenableStateAfterSuspending()
|
6804
|
+
: null;
|
6796
6805
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
6797
6806
|
segment.then(request, request);
|
6798
6807
|
task.formatContext = previousFormatContext;
|
@@ -6805,7 +6814,10 @@
|
|
6805
6814
|
return;
|
6806
6815
|
}
|
6807
6816
|
if ("Maximum call stack size exceeded" === node.message) {
|
6808
|
-
segment =
|
6817
|
+
segment =
|
6818
|
+
thrownValue$3 === SuspenseException
|
6819
|
+
? getThenableStateAfterSuspending()
|
6820
|
+
: null;
|
6809
6821
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
6810
6822
|
request.pingedTasks.push(segment);
|
6811
6823
|
task.formatContext = previousFormatContext;
|
@@ -7261,7 +7273,10 @@
|
|
7261
7273
|
) {
|
7262
7274
|
var ping = request.ping;
|
7263
7275
|
x.then(ping, ping);
|
7264
|
-
request.thenableState =
|
7276
|
+
request.thenableState =
|
7277
|
+
thrownValue === SuspenseException
|
7278
|
+
? getThenableStateAfterSuspending()
|
7279
|
+
: null;
|
7265
7280
|
} else {
|
7266
7281
|
request.replay.pendingTasks--;
|
7267
7282
|
request.abortSet.delete(request);
|
@@ -7347,7 +7362,10 @@
|
|
7347
7362
|
"function" === typeof x$jscomp$0.then
|
7348
7363
|
) {
|
7349
7364
|
request$jscomp$1.status = PENDING;
|
7350
|
-
errorDigest.thenableState =
|
7365
|
+
errorDigest.thenableState =
|
7366
|
+
thrownValue === SuspenseException
|
7367
|
+
? getThenableStateAfterSuspending()
|
7368
|
+
: null;
|
7351
7369
|
var ping$jscomp$0 = errorDigest.ping;
|
7352
7370
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
7353
7371
|
} else {
|
@@ -9716,5 +9734,5 @@
|
|
9716
9734
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
9717
9735
|
);
|
9718
9736
|
};
|
9719
|
-
exports.version = "19.2.0-canary-
|
9737
|
+
exports.version = "19.2.0-canary-9be531cd-20250729";
|
9720
9738
|
})();
|
@@ -5239,7 +5239,10 @@ function renderNode(request, task, node, childIndex) {
|
|
5239
5239
|
"object" === typeof node && null !== node)
|
5240
5240
|
) {
|
5241
5241
|
if ("function" === typeof node.then) {
|
5242
|
-
childIndex =
|
5242
|
+
childIndex =
|
5243
|
+
thrownValue === SuspenseException
|
5244
|
+
? getThenableStateAfterSuspending()
|
5245
|
+
: null;
|
5243
5246
|
request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
|
5244
5247
|
node.then(request, request);
|
5245
5248
|
task.formatContext = previousFormatContext;
|
@@ -5252,7 +5255,10 @@ function renderNode(request, task, node, childIndex) {
|
|
5252
5255
|
return;
|
5253
5256
|
}
|
5254
5257
|
if ("Maximum call stack size exceeded" === node.message) {
|
5255
|
-
node =
|
5258
|
+
node =
|
5259
|
+
thrownValue === SuspenseException
|
5260
|
+
? getThenableStateAfterSuspending()
|
5261
|
+
: null;
|
5256
5262
|
node = spawnNewSuspendedReplayTask(request, task, node);
|
5257
5263
|
request.pingedTasks.push(node);
|
5258
5264
|
task.formatContext = previousFormatContext;
|
@@ -5284,7 +5290,10 @@ function renderNode(request, task, node, childIndex) {
|
|
5284
5290
|
) {
|
5285
5291
|
if ("function" === typeof node.then) {
|
5286
5292
|
segment = node;
|
5287
|
-
node =
|
5293
|
+
node =
|
5294
|
+
thrownValue$60 === SuspenseException
|
5295
|
+
? getThenableStateAfterSuspending()
|
5296
|
+
: null;
|
5288
5297
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
5289
5298
|
segment.then(request, request);
|
5290
5299
|
task.formatContext = previousFormatContext;
|
@@ -5296,7 +5305,10 @@ function renderNode(request, task, node, childIndex) {
|
|
5296
5305
|
return;
|
5297
5306
|
}
|
5298
5307
|
if ("Maximum call stack size exceeded" === node.message) {
|
5299
|
-
segment =
|
5308
|
+
segment =
|
5309
|
+
thrownValue$60 === SuspenseException
|
5310
|
+
? getThenableStateAfterSuspending()
|
5311
|
+
: null;
|
5300
5312
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
5301
5313
|
request.pingedTasks.push(segment);
|
5302
5314
|
task.formatContext = previousFormatContext;
|
@@ -5702,7 +5714,10 @@ function performWork(request$jscomp$2) {
|
|
5702
5714
|
) {
|
5703
5715
|
var ping = task.ping;
|
5704
5716
|
x.then(ping, ping);
|
5705
|
-
task.thenableState =
|
5717
|
+
task.thenableState =
|
5718
|
+
thrownValue === SuspenseException
|
5719
|
+
? getThenableStateAfterSuspending()
|
5720
|
+
: null;
|
5706
5721
|
} else {
|
5707
5722
|
task.replay.pendingTasks--;
|
5708
5723
|
task.abortSet.delete(task);
|
@@ -5780,7 +5795,10 @@ function performWork(request$jscomp$2) {
|
|
5780
5795
|
"function" === typeof x$jscomp$0.then
|
5781
5796
|
) {
|
5782
5797
|
request$jscomp$1.status = 0;
|
5783
|
-
task.thenableState =
|
5798
|
+
task.thenableState =
|
5799
|
+
thrownValue === SuspenseException
|
5800
|
+
? getThenableStateAfterSuspending()
|
5801
|
+
: null;
|
5784
5802
|
var ping$jscomp$0 = task.ping;
|
5785
5803
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
5786
5804
|
} else {
|
@@ -6550,4 +6568,4 @@ exports.renderToString = function (children, options) {
|
|
6550
6568
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
6551
6569
|
);
|
6552
6570
|
};
|
6553
|
-
exports.version = "19.2.0-canary-
|
6571
|
+
exports.version = "19.2.0-canary-9be531cd-20250729";
|
@@ -6954,7 +6954,10 @@
|
|
6954
6954
|
"object" === typeof node && null !== node)
|
6955
6955
|
) {
|
6956
6956
|
if ("function" === typeof node.then) {
|
6957
|
-
childIndex =
|
6957
|
+
childIndex =
|
6958
|
+
thrownValue === SuspenseException
|
6959
|
+
? getThenableStateAfterSuspending()
|
6960
|
+
: null;
|
6958
6961
|
request = spawnNewSuspendedReplayTask(
|
6959
6962
|
request,
|
6960
6963
|
task,
|
@@ -6972,7 +6975,10 @@
|
|
6972
6975
|
return;
|
6973
6976
|
}
|
6974
6977
|
if ("Maximum call stack size exceeded" === node.message) {
|
6975
|
-
node =
|
6978
|
+
node =
|
6979
|
+
thrownValue === SuspenseException
|
6980
|
+
? getThenableStateAfterSuspending()
|
6981
|
+
: null;
|
6976
6982
|
node = spawnNewSuspendedReplayTask(request, task, node);
|
6977
6983
|
request.pingedTasks.push(node);
|
6978
6984
|
task.formatContext = previousFormatContext;
|
@@ -7005,7 +7011,10 @@
|
|
7005
7011
|
) {
|
7006
7012
|
if ("function" === typeof node.then) {
|
7007
7013
|
segment = node;
|
7008
|
-
node =
|
7014
|
+
node =
|
7015
|
+
thrownValue$3 === SuspenseException
|
7016
|
+
? getThenableStateAfterSuspending()
|
7017
|
+
: null;
|
7009
7018
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
7010
7019
|
segment.then(request, request);
|
7011
7020
|
task.formatContext = previousFormatContext;
|
@@ -7018,7 +7027,10 @@
|
|
7018
7027
|
return;
|
7019
7028
|
}
|
7020
7029
|
if ("Maximum call stack size exceeded" === node.message) {
|
7021
|
-
segment =
|
7030
|
+
segment =
|
7031
|
+
thrownValue$3 === SuspenseException
|
7032
|
+
? getThenableStateAfterSuspending()
|
7033
|
+
: null;
|
7022
7034
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
7023
7035
|
request.pingedTasks.push(segment);
|
7024
7036
|
task.formatContext = previousFormatContext;
|
@@ -7484,7 +7496,10 @@
|
|
7484
7496
|
) {
|
7485
7497
|
var ping = request.ping;
|
7486
7498
|
x.then(ping, ping);
|
7487
|
-
request.thenableState =
|
7499
|
+
request.thenableState =
|
7500
|
+
thrownValue === SuspenseException
|
7501
|
+
? getThenableStateAfterSuspending()
|
7502
|
+
: null;
|
7488
7503
|
} else {
|
7489
7504
|
request.replay.pendingTasks--;
|
7490
7505
|
request.abortSet.delete(request);
|
@@ -7572,7 +7587,10 @@
|
|
7572
7587
|
"function" === typeof x$jscomp$0.then
|
7573
7588
|
) {
|
7574
7589
|
request$jscomp$1.status = PENDING;
|
7575
|
-
errorDigest.thenableState =
|
7590
|
+
errorDigest.thenableState =
|
7591
|
+
thrownValue === SuspenseException
|
7592
|
+
? getThenableStateAfterSuspending()
|
7593
|
+
: null;
|
7576
7594
|
var ping$jscomp$0 = errorDigest.ping;
|
7577
7595
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
7578
7596
|
} else {
|
@@ -8463,11 +8481,11 @@
|
|
8463
8481
|
}
|
8464
8482
|
function ensureCorrectIsomorphicReactVersion() {
|
8465
8483
|
var isomorphicReactPackageVersion = React.version;
|
8466
|
-
if ("19.2.0-canary-
|
8484
|
+
if ("19.2.0-canary-9be531cd-20250729" !== isomorphicReactPackageVersion)
|
8467
8485
|
throw Error(
|
8468
8486
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
8469
8487
|
(isomorphicReactPackageVersion +
|
8470
|
-
"\n - react-dom: 19.2.0-canary-
|
8488
|
+
"\n - react-dom: 19.2.0-canary-9be531cd-20250729\nLearn more: https://react.dev/warnings/version-mismatch")
|
8471
8489
|
);
|
8472
8490
|
}
|
8473
8491
|
var React = require("react"),
|
@@ -10157,5 +10175,5 @@
|
|
10157
10175
|
startWork(request);
|
10158
10176
|
});
|
10159
10177
|
};
|
10160
|
-
exports.version = "19.2.0-canary-
|
10178
|
+
exports.version = "19.2.0-canary-9be531cd-20250729";
|
10161
10179
|
})();
|
@@ -5621,7 +5621,10 @@ function renderNode(request, task, node, childIndex) {
|
|
5621
5621
|
"object" === typeof node && null !== node)
|
5622
5622
|
) {
|
5623
5623
|
if ("function" === typeof node.then) {
|
5624
|
-
childIndex =
|
5624
|
+
childIndex =
|
5625
|
+
thrownValue === SuspenseException
|
5626
|
+
? getThenableStateAfterSuspending()
|
5627
|
+
: null;
|
5625
5628
|
request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
|
5626
5629
|
node.then(request, request);
|
5627
5630
|
task.formatContext = previousFormatContext;
|
@@ -5634,7 +5637,10 @@ function renderNode(request, task, node, childIndex) {
|
|
5634
5637
|
return;
|
5635
5638
|
}
|
5636
5639
|
if ("Maximum call stack size exceeded" === node.message) {
|
5637
|
-
node =
|
5640
|
+
node =
|
5641
|
+
thrownValue === SuspenseException
|
5642
|
+
? getThenableStateAfterSuspending()
|
5643
|
+
: null;
|
5638
5644
|
node = spawnNewSuspendedReplayTask(request, task, node);
|
5639
5645
|
request.pingedTasks.push(node);
|
5640
5646
|
task.formatContext = previousFormatContext;
|
@@ -5666,7 +5672,10 @@ function renderNode(request, task, node, childIndex) {
|
|
5666
5672
|
) {
|
5667
5673
|
if ("function" === typeof node.then) {
|
5668
5674
|
segment = node;
|
5669
|
-
node =
|
5675
|
+
node =
|
5676
|
+
thrownValue$60 === SuspenseException
|
5677
|
+
? getThenableStateAfterSuspending()
|
5678
|
+
: null;
|
5670
5679
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
5671
5680
|
segment.then(request, request);
|
5672
5681
|
task.formatContext = previousFormatContext;
|
@@ -5678,7 +5687,10 @@ function renderNode(request, task, node, childIndex) {
|
|
5678
5687
|
return;
|
5679
5688
|
}
|
5680
5689
|
if ("Maximum call stack size exceeded" === node.message) {
|
5681
|
-
segment =
|
5690
|
+
segment =
|
5691
|
+
thrownValue$60 === SuspenseException
|
5692
|
+
? getThenableStateAfterSuspending()
|
5693
|
+
: null;
|
5682
5694
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
5683
5695
|
request.pingedTasks.push(segment);
|
5684
5696
|
task.formatContext = previousFormatContext;
|
@@ -6084,7 +6096,10 @@ function performWork(request$jscomp$2) {
|
|
6084
6096
|
) {
|
6085
6097
|
var ping = task.ping;
|
6086
6098
|
x.then(ping, ping);
|
6087
|
-
task.thenableState =
|
6099
|
+
task.thenableState =
|
6100
|
+
thrownValue === SuspenseException
|
6101
|
+
? getThenableStateAfterSuspending()
|
6102
|
+
: null;
|
6088
6103
|
} else {
|
6089
6104
|
task.replay.pendingTasks--;
|
6090
6105
|
task.abortSet.delete(task);
|
@@ -6160,7 +6175,10 @@ function performWork(request$jscomp$2) {
|
|
6160
6175
|
"function" === typeof x$jscomp$0.then
|
6161
6176
|
) {
|
6162
6177
|
request$jscomp$1.status = 0;
|
6163
|
-
task.thenableState =
|
6178
|
+
task.thenableState =
|
6179
|
+
thrownValue === SuspenseException
|
6180
|
+
? getThenableStateAfterSuspending()
|
6181
|
+
: null;
|
6164
6182
|
var ping$jscomp$0 = task.ping;
|
6165
6183
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
6166
6184
|
} else {
|
@@ -6851,12 +6869,12 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
6851
6869
|
}
|
6852
6870
|
function ensureCorrectIsomorphicReactVersion() {
|
6853
6871
|
var isomorphicReactPackageVersion = React.version;
|
6854
|
-
if ("19.2.0-canary-
|
6872
|
+
if ("19.2.0-canary-9be531cd-20250729" !== isomorphicReactPackageVersion)
|
6855
6873
|
throw Error(
|
6856
6874
|
formatProdErrorMessage(
|
6857
6875
|
527,
|
6858
6876
|
isomorphicReactPackageVersion,
|
6859
|
-
"19.2.0-canary-
|
6877
|
+
"19.2.0-canary-9be531cd-20250729"
|
6860
6878
|
)
|
6861
6879
|
);
|
6862
6880
|
}
|
@@ -7003,4 +7021,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
7003
7021
|
startWork(request);
|
7004
7022
|
});
|
7005
7023
|
};
|
7006
|
-
exports.version = "19.2.0-canary-
|
7024
|
+
exports.version = "19.2.0-canary-9be531cd-20250729";
|
@@ -7972,7 +7972,10 @@ function renderNode(request, task, node, childIndex) {
|
|
7972
7972
|
"object" === typeof node && null !== node)
|
7973
7973
|
) {
|
7974
7974
|
if ("function" === typeof node.then) {
|
7975
|
-
childIndex =
|
7975
|
+
childIndex =
|
7976
|
+
thrownValue === SuspenseException
|
7977
|
+
? getThenableStateAfterSuspending()
|
7978
|
+
: null;
|
7976
7979
|
request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
|
7977
7980
|
node.then(request, request);
|
7978
7981
|
task.formatContext = previousFormatContext;
|
@@ -7986,7 +7989,10 @@ function renderNode(request, task, node, childIndex) {
|
|
7986
7989
|
return;
|
7987
7990
|
}
|
7988
7991
|
if ("Maximum call stack size exceeded" === node.message) {
|
7989
|
-
node =
|
7992
|
+
node =
|
7993
|
+
thrownValue === SuspenseException
|
7994
|
+
? getThenableStateAfterSuspending()
|
7995
|
+
: null;
|
7990
7996
|
node = spawnNewSuspendedReplayTask(request, task, node);
|
7991
7997
|
request.pingedTasks.push(node);
|
7992
7998
|
task.formatContext = previousFormatContext;
|
@@ -8019,7 +8025,10 @@ function renderNode(request, task, node, childIndex) {
|
|
8019
8025
|
) {
|
8020
8026
|
if ("function" === typeof node.then) {
|
8021
8027
|
segment = node;
|
8022
|
-
node =
|
8028
|
+
node =
|
8029
|
+
thrownValue$3 === SuspenseException
|
8030
|
+
? getThenableStateAfterSuspending()
|
8031
|
+
: null;
|
8023
8032
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
8024
8033
|
segment.then(request, request);
|
8025
8034
|
task.formatContext = previousFormatContext;
|
@@ -8032,7 +8041,10 @@ function renderNode(request, task, node, childIndex) {
|
|
8032
8041
|
return;
|
8033
8042
|
}
|
8034
8043
|
if ("Maximum call stack size exceeded" === node.message) {
|
8035
|
-
segment =
|
8044
|
+
segment =
|
8045
|
+
thrownValue$3 === SuspenseException
|
8046
|
+
? getThenableStateAfterSuspending()
|
8047
|
+
: null;
|
8036
8048
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
8037
8049
|
request.pingedTasks.push(segment);
|
8038
8050
|
task.formatContext = previousFormatContext;
|
@@ -8480,7 +8492,10 @@ function performWork(request$jscomp$2) {
|
|
8480
8492
|
) {
|
8481
8493
|
var ping = request.ping;
|
8482
8494
|
x.then(ping, ping);
|
8483
|
-
request.thenableState =
|
8495
|
+
request.thenableState =
|
8496
|
+
thrownValue === SuspenseException
|
8497
|
+
? getThenableStateAfterSuspending()
|
8498
|
+
: null;
|
8484
8499
|
} else {
|
8485
8500
|
request.replay.pendingTasks--;
|
8486
8501
|
request.abortSet.delete(request);
|
@@ -8571,7 +8586,10 @@ function performWork(request$jscomp$2) {
|
|
8571
8586
|
"function" === typeof x$jscomp$0.then
|
8572
8587
|
) {
|
8573
8588
|
request$jscomp$1.status = PENDING;
|
8574
|
-
errorDigest.thenableState =
|
8589
|
+
errorDigest.thenableState =
|
8590
|
+
thrownValue === SuspenseException
|
8591
|
+
? getThenableStateAfterSuspending()
|
8592
|
+
: null;
|
8575
8593
|
var ping$jscomp$0 = errorDigest.ping;
|
8576
8594
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
8577
8595
|
} else {
|
@@ -9345,13 +9363,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
9345
9363
|
}
|
9346
9364
|
var isomorphicReactPackageVersion$jscomp$inline_764 = React.version;
|
9347
9365
|
if (
|
9348
|
-
"19.2.0-canary-
|
9366
|
+
"19.2.0-canary-9be531cd-20250729" !==
|
9349
9367
|
isomorphicReactPackageVersion$jscomp$inline_764
|
9350
9368
|
)
|
9351
9369
|
throw Error(
|
9352
9370
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
9353
9371
|
(isomorphicReactPackageVersion$jscomp$inline_764 +
|
9354
|
-
"\n - react-dom: 19.2.0-canary-
|
9372
|
+
"\n - react-dom: 19.2.0-canary-9be531cd-20250729\nLearn more: https://react.dev/warnings/version-mismatch")
|
9355
9373
|
);
|
9356
9374
|
exports.renderToReadableStream = function (children, options) {
|
9357
9375
|
return new Promise(function (resolve, reject) {
|
@@ -9444,4 +9462,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
9444
9462
|
startWork(request$jscomp$0);
|
9445
9463
|
});
|
9446
9464
|
};
|
9447
|
-
exports.version = "19.2.0-canary-
|
9465
|
+
exports.version = "19.2.0-canary-9be531cd-20250729";
|