react-dom 19.2.0-canary-5dc00d6b-20250428 → 19.2.0-canary-408d055a-20250430
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 +9 -7
- package/cjs/react-dom-client.production.js +13 -7
- package/cjs/react-dom-profiling.development.js +9 -7
- package/cjs/react-dom-profiling.profiling.js +13 -7
- package/cjs/react-dom-server-legacy.browser.development.js +15 -7
- package/cjs/react-dom-server-legacy.browser.production.js +12 -5
- package/cjs/react-dom-server-legacy.node.development.js +15 -7
- package/cjs/react-dom-server-legacy.node.production.js +12 -5
- package/cjs/react-dom-server.browser.development.js +17 -9
- package/cjs/react-dom-server.browser.production.js +14 -7
- package/cjs/react-dom-server.bun.development.js +16 -8
- package/cjs/react-dom-server.bun.production.js +14 -7
- package/cjs/react-dom-server.edge.development.js +17 -9
- package/cjs/react-dom-server.edge.production.js +14 -7
- package/cjs/react-dom-server.node.development.js +17 -9
- package/cjs/react-dom-server.node.production.js +14 -7
- 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
@@ -4668,8 +4668,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4668
4668
|
queueCompletedSegment(newBoundary, contentRootSegment),
|
4669
4669
|
0 === newBoundary.pendingTasks &&
|
4670
4670
|
0 === newBoundary.status &&
|
4671
|
-
((newBoundary.status = 1),
|
4672
|
-
!(newBoundary.byteSize > request.progressiveChunkSize)))
|
4671
|
+
((newBoundary.status = 1), !(500 < newBoundary.byteSize)))
|
4673
4672
|
) {
|
4674
4673
|
0 === request.pendingRootTasks &&
|
4675
4674
|
task.blockedPreamble &&
|
@@ -5536,7 +5535,7 @@ function finishedTask(request, boundary, segment) {
|
|
5536
5535
|
boundary.parentFlushed &&
|
5537
5536
|
request.completedBoundaries.push(boundary),
|
5538
5537
|
1 === boundary.status &&
|
5539
|
-
(boundary.byteSize
|
5538
|
+
(500 < boundary.byteSize ||
|
5540
5539
|
(boundary.fallbackAbortableTasks.forEach(
|
5541
5540
|
abortTaskSoft,
|
5542
5541
|
request
|
@@ -5841,6 +5840,7 @@ function flushSubtree(request, destination, segment, hoistableState) {
|
|
5841
5840
|
throw Error(formatProdErrorMessage(390));
|
5842
5841
|
}
|
5843
5842
|
}
|
5843
|
+
var flushedByteSize = 0;
|
5844
5844
|
function flushSegment(request, destination, segment, hoistableState) {
|
5845
5845
|
var boundary = segment.boundary;
|
5846
5846
|
if (null === boundary)
|
@@ -5876,7 +5876,10 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
5876
5876
|
hoistableState
|
5877
5877
|
)),
|
5878
5878
|
flushSubtree(request, destination, segment, hoistableState);
|
5879
|
-
else if (
|
5879
|
+
else if (
|
5880
|
+
500 < boundary.byteSize &&
|
5881
|
+
flushedByteSize + boundary.byteSize > request.progressiveChunkSize
|
5882
|
+
)
|
5880
5883
|
(boundary.rootSegmentID = request.nextSegmentId++),
|
5881
5884
|
request.completedBoundaries.push(boundary),
|
5882
5885
|
writeStartPendingSuspenseBoundary(
|
@@ -5886,6 +5889,7 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
5886
5889
|
),
|
5887
5890
|
flushSubtree(request, destination, segment, hoistableState);
|
5888
5891
|
else {
|
5892
|
+
flushedByteSize += boundary.byteSize;
|
5889
5893
|
hoistableState &&
|
5890
5894
|
((segment = boundary.contentState),
|
5891
5895
|
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
@@ -5908,6 +5912,7 @@ function flushSegmentContainer(request, destination, segment, hoistableState) {
|
|
5908
5912
|
return writeEndSegment(destination, segment.parentFormatContext);
|
5909
5913
|
}
|
5910
5914
|
function flushCompletedBoundary(request, destination, boundary) {
|
5915
|
+
flushedByteSize = boundary.byteSize;
|
5911
5916
|
for (
|
5912
5917
|
var completedSegments = boundary.completedSegments, i = 0;
|
5913
5918
|
i < completedSegments.length;
|
@@ -6003,6 +6008,7 @@ function flushCompletedQueues(request, destination) {
|
|
6003
6008
|
if (5 === completedRootSegment.status) return;
|
6004
6009
|
var completedPreambleSegments = request.completedPreambleSegments;
|
6005
6010
|
if (null === completedPreambleSegments) return;
|
6011
|
+
flushedByteSize = request.byteSize;
|
6006
6012
|
var resumableState = request.resumableState,
|
6007
6013
|
renderState = request.renderState,
|
6008
6014
|
preamble = renderState.preamble,
|
@@ -6189,6 +6195,7 @@ function flushCompletedQueues(request, destination) {
|
|
6189
6195
|
a: {
|
6190
6196
|
clientRenderedBoundaries = request;
|
6191
6197
|
boundary = destination;
|
6198
|
+
flushedByteSize = boundary$53.byteSize;
|
6192
6199
|
var completedSegments = boundary$53.completedSegments;
|
6193
6200
|
for (
|
6194
6201
|
JSCompiler_inline_result = 0;
|
@@ -6311,12 +6318,12 @@ function abort(request, reason) {
|
|
6311
6318
|
}
|
6312
6319
|
function ensureCorrectIsomorphicReactVersion() {
|
6313
6320
|
var isomorphicReactPackageVersion = React.version;
|
6314
|
-
if ("19.2.0-canary-
|
6321
|
+
if ("19.2.0-canary-408d055a-20250430" !== isomorphicReactPackageVersion)
|
6315
6322
|
throw Error(
|
6316
6323
|
formatProdErrorMessage(
|
6317
6324
|
527,
|
6318
6325
|
isomorphicReactPackageVersion,
|
6319
|
-
"19.2.0-canary-
|
6326
|
+
"19.2.0-canary-408d055a-20250430"
|
6320
6327
|
)
|
6321
6328
|
);
|
6322
6329
|
}
|
@@ -6463,4 +6470,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
6463
6470
|
startWork(request);
|
6464
6471
|
});
|
6465
6472
|
};
|
6466
|
-
exports.version = "19.2.0-canary-
|
6473
|
+
exports.version = "19.2.0-canary-408d055a-20250430";
|
@@ -6743,7 +6743,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
6743
6743
|
0 === newBoundary.pendingTasks &&
|
6744
6744
|
newBoundary.status === PENDING &&
|
6745
6745
|
((newBoundary.status = COMPLETED),
|
6746
|
-
!(newBoundary.byteSize
|
6746
|
+
!(500 < newBoundary.byteSize)))
|
6747
6747
|
) {
|
6748
6748
|
0 === request.pendingRootTasks &&
|
6749
6749
|
task.blockedPreamble &&
|
@@ -7851,7 +7851,7 @@ function finishedTask(request, boundary, segment) {
|
|
7851
7851
|
boundary.parentFlushed &&
|
7852
7852
|
request.completedBoundaries.push(boundary),
|
7853
7853
|
boundary.status === COMPLETED &&
|
7854
|
-
(boundary.byteSize
|
7854
|
+
(500 < boundary.byteSize ||
|
7855
7855
|
(boundary.fallbackAbortableTasks.forEach(
|
7856
7856
|
abortTaskSoft,
|
7857
7857
|
request
|
@@ -8197,6 +8197,7 @@ function flushSubtree(request, destination, segment, hoistableState) {
|
|
8197
8197
|
);
|
8198
8198
|
}
|
8199
8199
|
}
|
8200
|
+
var flushedByteSize = 0;
|
8200
8201
|
function flushSegment(request, destination, segment, hoistableState) {
|
8201
8202
|
var boundary = segment.boundary;
|
8202
8203
|
if (null === boundary)
|
@@ -8257,7 +8258,10 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
8257
8258
|
hoistableState
|
8258
8259
|
)),
|
8259
8260
|
flushSubtree(request, destination, segment, hoistableState);
|
8260
|
-
else if (
|
8261
|
+
else if (
|
8262
|
+
500 < boundary.byteSize &&
|
8263
|
+
flushedByteSize + boundary.byteSize > request.progressiveChunkSize
|
8264
|
+
)
|
8261
8265
|
(boundary.rootSegmentID = request.nextSegmentId++),
|
8262
8266
|
request.completedBoundaries.push(boundary),
|
8263
8267
|
writeStartPendingSuspenseBoundary(
|
@@ -8267,6 +8271,7 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
8267
8271
|
),
|
8268
8272
|
flushSubtree(request, destination, segment, hoistableState);
|
8269
8273
|
else {
|
8274
|
+
flushedByteSize += boundary.byteSize;
|
8270
8275
|
hoistableState &&
|
8271
8276
|
((segment = boundary.contentState),
|
8272
8277
|
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
@@ -8292,6 +8297,7 @@ function flushSegmentContainer(request, destination, segment, hoistableState) {
|
|
8292
8297
|
return writeEndSegment(destination, segment.parentFormatContext);
|
8293
8298
|
}
|
8294
8299
|
function flushCompletedBoundary(request, destination, boundary) {
|
8300
|
+
flushedByteSize = boundary.byteSize;
|
8295
8301
|
for (
|
8296
8302
|
var completedSegments = boundary.completedSegments, i = 0;
|
8297
8303
|
i < completedSegments.length;
|
@@ -8393,6 +8399,7 @@ function flushCompletedQueues(request, destination) {
|
|
8393
8399
|
if (completedRootSegment.status === POSTPONED) return;
|
8394
8400
|
var completedPreambleSegments = request.completedPreambleSegments;
|
8395
8401
|
if (null === completedPreambleSegments) return;
|
8402
|
+
flushedByteSize = request.byteSize;
|
8396
8403
|
var resumableState = request.resumableState,
|
8397
8404
|
renderState = request.renderState,
|
8398
8405
|
preamble = renderState.preamble,
|
@@ -8604,8 +8611,9 @@ function flushCompletedQueues(request, destination) {
|
|
8604
8611
|
a: {
|
8605
8612
|
clientRenderedBoundaries = request;
|
8606
8613
|
boundary = destination;
|
8607
|
-
var boundary$jscomp$0 = partialBoundaries[i]
|
8608
|
-
|
8614
|
+
var boundary$jscomp$0 = partialBoundaries[i];
|
8615
|
+
flushedByteSize = boundary$jscomp$0.byteSize;
|
8616
|
+
var completedSegments = boundary$jscomp$0.completedSegments;
|
8609
8617
|
for (
|
8610
8618
|
JSCompiler_inline_result = 0;
|
8611
8619
|
JSCompiler_inline_result < completedSegments.length;
|
@@ -8721,13 +8729,13 @@ function abort(request, reason) {
|
|
8721
8729
|
}
|
8722
8730
|
var isomorphicReactPackageVersion$jscomp$inline_748 = React.version;
|
8723
8731
|
if (
|
8724
|
-
"19.2.0-canary-
|
8732
|
+
"19.2.0-canary-408d055a-20250430" !==
|
8725
8733
|
isomorphicReactPackageVersion$jscomp$inline_748
|
8726
8734
|
)
|
8727
8735
|
throw Error(
|
8728
8736
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
8729
8737
|
(isomorphicReactPackageVersion$jscomp$inline_748 +
|
8730
|
-
"\n - react-dom: 19.2.0-canary-
|
8738
|
+
"\n - react-dom: 19.2.0-canary-408d055a-20250430\nLearn more: https://react.dev/warnings/version-mismatch")
|
8731
8739
|
);
|
8732
8740
|
exports.renderToReadableStream = function (children, options) {
|
8733
8741
|
return new Promise(function (resolve, reject) {
|
@@ -8820,4 +8828,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
8820
8828
|
startWork(request$jscomp$0);
|
8821
8829
|
});
|
8822
8830
|
};
|
8823
|
-
exports.version = "19.2.0-canary-
|
8831
|
+
exports.version = "19.2.0-canary-408d055a-20250430";
|
@@ -4282,8 +4282,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4282
4282
|
queueCompletedSegment(newBoundary, contentRootSegment),
|
4283
4283
|
0 === newBoundary.pendingTasks &&
|
4284
4284
|
0 === newBoundary.status &&
|
4285
|
-
((newBoundary.status = 1),
|
4286
|
-
!(newBoundary.byteSize > request.progressiveChunkSize)))
|
4285
|
+
((newBoundary.status = 1), !(500 < newBoundary.byteSize)))
|
4287
4286
|
) {
|
4288
4287
|
0 === request.pendingRootTasks &&
|
4289
4288
|
task.blockedPreamble &&
|
@@ -5168,7 +5167,7 @@ function finishedTask(request, boundary, segment) {
|
|
5168
5167
|
boundary.parentFlushed &&
|
5169
5168
|
request.completedBoundaries.push(boundary),
|
5170
5169
|
1 === boundary.status &&
|
5171
|
-
(boundary.byteSize
|
5170
|
+
(500 < boundary.byteSize ||
|
5172
5171
|
(boundary.fallbackAbortableTasks.forEach(
|
5173
5172
|
abortTaskSoft,
|
5174
5173
|
request
|
@@ -5479,6 +5478,7 @@ function flushSubtree(request, destination, segment, hoistableState) {
|
|
5479
5478
|
);
|
5480
5479
|
}
|
5481
5480
|
}
|
5481
|
+
var flushedByteSize = 0;
|
5482
5482
|
function flushSegment(request, destination, segment, hoistableState) {
|
5483
5483
|
var boundary = segment.boundary;
|
5484
5484
|
if (null === boundary)
|
@@ -5511,7 +5511,10 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
5511
5511
|
hoistableState
|
5512
5512
|
)),
|
5513
5513
|
flushSubtree(request, destination, segment, hoistableState);
|
5514
|
-
else if (
|
5514
|
+
else if (
|
5515
|
+
500 < boundary.byteSize &&
|
5516
|
+
flushedByteSize + boundary.byteSize > request.progressiveChunkSize
|
5517
|
+
)
|
5515
5518
|
(boundary.rootSegmentID = request.nextSegmentId++),
|
5516
5519
|
request.completedBoundaries.push(boundary),
|
5517
5520
|
writeStartPendingSuspenseBoundary(
|
@@ -5521,6 +5524,7 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
5521
5524
|
),
|
5522
5525
|
flushSubtree(request, destination, segment, hoistableState);
|
5523
5526
|
else {
|
5527
|
+
flushedByteSize += boundary.byteSize;
|
5524
5528
|
hoistableState &&
|
5525
5529
|
((segment = boundary.contentState),
|
5526
5530
|
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
@@ -5546,6 +5550,7 @@ function flushSegmentContainer(request, destination, segment, hoistableState) {
|
|
5546
5550
|
return writeEndSegment(destination, segment.parentFormatContext);
|
5547
5551
|
}
|
5548
5552
|
function flushCompletedBoundary(request, destination, boundary) {
|
5553
|
+
flushedByteSize = boundary.byteSize;
|
5549
5554
|
for (
|
5550
5555
|
var completedSegments = boundary.completedSegments, i = 0;
|
5551
5556
|
i < completedSegments.length;
|
@@ -5653,6 +5658,7 @@ function flushCompletedQueues(request, destination) {
|
|
5653
5658
|
if (5 === completedRootSegment.status) return;
|
5654
5659
|
var completedPreambleSegments = request.completedPreambleSegments;
|
5655
5660
|
if (null === completedPreambleSegments) return;
|
5661
|
+
flushedByteSize = request.byteSize;
|
5656
5662
|
var resumableState = request.resumableState,
|
5657
5663
|
renderState = request.renderState,
|
5658
5664
|
preamble = renderState.preamble,
|
@@ -5832,6 +5838,7 @@ function flushCompletedQueues(request, destination) {
|
|
5832
5838
|
a: {
|
5833
5839
|
clientRenderedBoundaries = request;
|
5834
5840
|
boundary = destination;
|
5841
|
+
flushedByteSize = boundary$53.byteSize;
|
5835
5842
|
var completedSegments = boundary$53.completedSegments;
|
5836
5843
|
for (
|
5837
5844
|
JSCompiler_inline_result = 0;
|
@@ -5942,13 +5949,13 @@ function abort(request, reason) {
|
|
5942
5949
|
}
|
5943
5950
|
var isomorphicReactPackageVersion$jscomp$inline_768 = React.version;
|
5944
5951
|
if (
|
5945
|
-
"19.2.0-canary-
|
5952
|
+
"19.2.0-canary-408d055a-20250430" !==
|
5946
5953
|
isomorphicReactPackageVersion$jscomp$inline_768
|
5947
5954
|
)
|
5948
5955
|
throw Error(
|
5949
5956
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
5950
5957
|
(isomorphicReactPackageVersion$jscomp$inline_768 +
|
5951
|
-
"\n - react-dom: 19.2.0-canary-
|
5958
|
+
"\n - react-dom: 19.2.0-canary-408d055a-20250430\nLearn more: https://react.dev/warnings/version-mismatch")
|
5952
5959
|
);
|
5953
5960
|
exports.renderToReadableStream = function (children, options) {
|
5954
5961
|
return new Promise(function (resolve, reject) {
|
@@ -6039,4 +6046,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
6039
6046
|
startWork(request);
|
6040
6047
|
});
|
6041
6048
|
};
|
6042
|
-
exports.version = "19.2.0-canary-
|
6049
|
+
exports.version = "19.2.0-canary-408d055a-20250430";
|
@@ -5709,7 +5709,7 @@
|
|
5709
5709
|
0 === newBoundary.pendingTasks &&
|
5710
5710
|
newBoundary.status === PENDING &&
|
5711
5711
|
((newBoundary.status = COMPLETED),
|
5712
|
-
!(newBoundary.byteSize
|
5712
|
+
!(500 < newBoundary.byteSize)))
|
5713
5713
|
) {
|
5714
5714
|
0 === request.pendingRootTasks &&
|
5715
5715
|
task.blockedPreamble &&
|
@@ -6855,7 +6855,7 @@
|
|
6855
6855
|
boundary.parentFlushed &&
|
6856
6856
|
request.completedBoundaries.push(boundary),
|
6857
6857
|
boundary.status === COMPLETED &&
|
6858
|
-
(boundary.byteSize
|
6858
|
+
(500 < boundary.byteSize ||
|
6859
6859
|
(boundary.fallbackAbortableTasks.forEach(
|
6860
6860
|
abortTaskSoft,
|
6861
6861
|
request
|
@@ -7287,7 +7287,10 @@
|
|
7287
7287
|
hoistableState
|
7288
7288
|
)),
|
7289
7289
|
flushSubtree(request, destination, segment, hoistableState);
|
7290
|
-
else if (
|
7290
|
+
else if (
|
7291
|
+
500 < boundary.byteSize &&
|
7292
|
+
flushedByteSize + boundary.byteSize > request.progressiveChunkSize
|
7293
|
+
)
|
7291
7294
|
(boundary.rootSegmentID = request.nextSegmentId++),
|
7292
7295
|
request.completedBoundaries.push(boundary),
|
7293
7296
|
writeStartPendingSuspenseBoundary(
|
@@ -7297,6 +7300,7 @@
|
|
7297
7300
|
),
|
7298
7301
|
flushSubtree(request, destination, segment, hoistableState);
|
7299
7302
|
else {
|
7303
|
+
flushedByteSize += boundary.byteSize;
|
7300
7304
|
hoistableState &&
|
7301
7305
|
((segment = boundary.contentState),
|
7302
7306
|
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
@@ -7330,6 +7334,7 @@
|
|
7330
7334
|
return writeEndSegment(destination, segment.parentFormatContext);
|
7331
7335
|
}
|
7332
7336
|
function flushCompletedBoundary(request, destination, boundary) {
|
7337
|
+
flushedByteSize = boundary.byteSize;
|
7333
7338
|
for (
|
7334
7339
|
var completedSegments = boundary.completedSegments, i = 0;
|
7335
7340
|
i < completedSegments.length;
|
@@ -7446,6 +7451,7 @@
|
|
7446
7451
|
if (completedRootSegment.status === POSTPONED) return;
|
7447
7452
|
var completedPreambleSegments = request.completedPreambleSegments;
|
7448
7453
|
if (null === completedPreambleSegments) return;
|
7454
|
+
flushedByteSize = request.byteSize;
|
7449
7455
|
var resumableState = request.resumableState,
|
7450
7456
|
renderState = request.renderState,
|
7451
7457
|
preamble = renderState.preamble,
|
@@ -7716,8 +7722,9 @@
|
|
7716
7722
|
a: {
|
7717
7723
|
clientRenderedBoundaries = request;
|
7718
7724
|
boundary = destination;
|
7719
|
-
var boundary$jscomp$0 = partialBoundaries[i]
|
7720
|
-
|
7725
|
+
var boundary$jscomp$0 = partialBoundaries[i];
|
7726
|
+
flushedByteSize = boundary$jscomp$0.byteSize;
|
7727
|
+
var completedSegments = boundary$jscomp$0.completedSegments;
|
7721
7728
|
for (
|
7722
7729
|
JSCompiler_inline_result = 0;
|
7723
7730
|
JSCompiler_inline_result < completedSegments.length;
|
@@ -7863,11 +7870,11 @@
|
|
7863
7870
|
}
|
7864
7871
|
function ensureCorrectIsomorphicReactVersion() {
|
7865
7872
|
var isomorphicReactPackageVersion = React.version;
|
7866
|
-
if ("19.2.0-canary-
|
7873
|
+
if ("19.2.0-canary-408d055a-20250430" !== isomorphicReactPackageVersion)
|
7867
7874
|
throw Error(
|
7868
7875
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
7869
7876
|
(isomorphicReactPackageVersion +
|
7870
|
-
"\n - react-dom: 19.2.0-canary-
|
7877
|
+
"\n - react-dom: 19.2.0-canary-408d055a-20250430\nLearn more: https://react.dev/warnings/version-mismatch")
|
7871
7878
|
);
|
7872
7879
|
}
|
7873
7880
|
var React = require("react"),
|
@@ -9401,7 +9408,8 @@
|
|
9401
9408
|
didWarnAboutGetDerivedStateOnFunctionComponent = {},
|
9402
9409
|
didWarnAboutReassigningProps = !1,
|
9403
9410
|
didWarnAboutGenerators = !1,
|
9404
|
-
didWarnAboutMaps = !1
|
9411
|
+
didWarnAboutMaps = !1,
|
9412
|
+
flushedByteSize = 0;
|
9405
9413
|
ensureCorrectIsomorphicReactVersion();
|
9406
9414
|
ensureCorrectIsomorphicReactVersion();
|
9407
9415
|
exports.prerender = function (children, options) {
|
@@ -9545,5 +9553,5 @@
|
|
9545
9553
|
startWork(request);
|
9546
9554
|
});
|
9547
9555
|
};
|
9548
|
-
exports.version = "19.2.0-canary-
|
9556
|
+
exports.version = "19.2.0-canary-408d055a-20250430";
|
9549
9557
|
})();
|
@@ -4720,8 +4720,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4720
4720
|
queueCompletedSegment(newBoundary, contentRootSegment),
|
4721
4721
|
0 === newBoundary.pendingTasks &&
|
4722
4722
|
0 === newBoundary.status &&
|
4723
|
-
((newBoundary.status = 1),
|
4724
|
-
!(newBoundary.byteSize > request.progressiveChunkSize)))
|
4723
|
+
((newBoundary.status = 1), !(500 < newBoundary.byteSize)))
|
4725
4724
|
) {
|
4726
4725
|
0 === request.pendingRootTasks &&
|
4727
4726
|
task.blockedPreamble &&
|
@@ -5606,7 +5605,7 @@ function finishedTask(request, boundary, segment) {
|
|
5606
5605
|
boundary.parentFlushed &&
|
5607
5606
|
request.completedBoundaries.push(boundary),
|
5608
5607
|
1 === boundary.status &&
|
5609
|
-
(boundary.byteSize
|
5608
|
+
(500 < boundary.byteSize ||
|
5610
5609
|
(boundary.fallbackAbortableTasks.forEach(
|
5611
5610
|
abortTaskSoft,
|
5612
5611
|
request
|
@@ -5918,6 +5917,7 @@ function flushSubtree(request, destination, segment, hoistableState) {
|
|
5918
5917
|
);
|
5919
5918
|
}
|
5920
5919
|
}
|
5920
|
+
var flushedByteSize = 0;
|
5921
5921
|
function flushSegment(request, destination, segment, hoistableState) {
|
5922
5922
|
var boundary = segment.boundary;
|
5923
5923
|
if (null === boundary)
|
@@ -5953,7 +5953,10 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
5953
5953
|
hoistableState
|
5954
5954
|
)),
|
5955
5955
|
flushSubtree(request, destination, segment, hoistableState);
|
5956
|
-
else if (
|
5956
|
+
else if (
|
5957
|
+
500 < boundary.byteSize &&
|
5958
|
+
flushedByteSize + boundary.byteSize > request.progressiveChunkSize
|
5959
|
+
)
|
5957
5960
|
(boundary.rootSegmentID = request.nextSegmentId++),
|
5958
5961
|
request.completedBoundaries.push(boundary),
|
5959
5962
|
writeStartPendingSuspenseBoundary(
|
@@ -5963,6 +5966,7 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
5963
5966
|
),
|
5964
5967
|
flushSubtree(request, destination, segment, hoistableState);
|
5965
5968
|
else {
|
5969
|
+
flushedByteSize += boundary.byteSize;
|
5966
5970
|
hoistableState &&
|
5967
5971
|
((segment = boundary.contentState),
|
5968
5972
|
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
@@ -5988,6 +5992,7 @@ function flushSegmentContainer(request, destination, segment, hoistableState) {
|
|
5988
5992
|
return writeEndSegment(destination, segment.parentFormatContext);
|
5989
5993
|
}
|
5990
5994
|
function flushCompletedBoundary(request, destination, boundary) {
|
5995
|
+
flushedByteSize = boundary.byteSize;
|
5991
5996
|
for (
|
5992
5997
|
var completedSegments = boundary.completedSegments, i = 0;
|
5993
5998
|
i < completedSegments.length;
|
@@ -6085,6 +6090,7 @@ function flushCompletedQueues(request, destination) {
|
|
6085
6090
|
if (5 === completedRootSegment.status) return;
|
6086
6091
|
var completedPreambleSegments = request.completedPreambleSegments;
|
6087
6092
|
if (null === completedPreambleSegments) return;
|
6093
|
+
flushedByteSize = request.byteSize;
|
6088
6094
|
var resumableState = request.resumableState,
|
6089
6095
|
renderState = request.renderState,
|
6090
6096
|
preamble = renderState.preamble,
|
@@ -6271,6 +6277,7 @@ function flushCompletedQueues(request, destination) {
|
|
6271
6277
|
a: {
|
6272
6278
|
clientRenderedBoundaries = request;
|
6273
6279
|
boundary = destination;
|
6280
|
+
flushedByteSize = boundary$53.byteSize;
|
6274
6281
|
var completedSegments = boundary$53.completedSegments;
|
6275
6282
|
for (
|
6276
6283
|
JSCompiler_inline_result = 0;
|
@@ -6406,11 +6413,11 @@ function abort(request, reason) {
|
|
6406
6413
|
}
|
6407
6414
|
function ensureCorrectIsomorphicReactVersion() {
|
6408
6415
|
var isomorphicReactPackageVersion = React.version;
|
6409
|
-
if ("19.2.0-canary-
|
6416
|
+
if ("19.2.0-canary-408d055a-20250430" !== isomorphicReactPackageVersion)
|
6410
6417
|
throw Error(
|
6411
6418
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
6412
6419
|
(isomorphicReactPackageVersion +
|
6413
|
-
"\n - react-dom: 19.2.0-canary-
|
6420
|
+
"\n - react-dom: 19.2.0-canary-408d055a-20250430\nLearn more: https://react.dev/warnings/version-mismatch")
|
6414
6421
|
);
|
6415
6422
|
}
|
6416
6423
|
ensureCorrectIsomorphicReactVersion();
|
@@ -6556,4 +6563,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
6556
6563
|
startWork(request);
|
6557
6564
|
});
|
6558
6565
|
};
|
6559
|
-
exports.version = "19.2.0-canary-
|
6566
|
+
exports.version = "19.2.0-canary-408d055a-20250430";
|
@@ -5608,7 +5608,7 @@
|
|
5608
5608
|
0 === newBoundary.pendingTasks &&
|
5609
5609
|
newBoundary.status === PENDING &&
|
5610
5610
|
((newBoundary.status = COMPLETED),
|
5611
|
-
!(newBoundary.byteSize
|
5611
|
+
!(500 < newBoundary.byteSize)))
|
5612
5612
|
) {
|
5613
5613
|
0 === request.pendingRootTasks &&
|
5614
5614
|
task.blockedPreamble &&
|
@@ -6754,7 +6754,7 @@
|
|
6754
6754
|
boundary.parentFlushed &&
|
6755
6755
|
request.completedBoundaries.push(boundary),
|
6756
6756
|
boundary.status === COMPLETED &&
|
6757
|
-
(boundary.byteSize
|
6757
|
+
(500 < boundary.byteSize ||
|
6758
6758
|
(boundary.fallbackAbortableTasks.forEach(
|
6759
6759
|
abortTaskSoft,
|
6760
6760
|
request
|
@@ -7174,7 +7174,10 @@
|
|
7174
7174
|
hoistableState
|
7175
7175
|
)),
|
7176
7176
|
flushSubtree(request, destination, segment, hoistableState);
|
7177
|
-
else if (
|
7177
|
+
else if (
|
7178
|
+
500 < boundary.byteSize &&
|
7179
|
+
flushedByteSize + boundary.byteSize > request.progressiveChunkSize
|
7180
|
+
)
|
7178
7181
|
(boundary.rootSegmentID = request.nextSegmentId++),
|
7179
7182
|
request.completedBoundaries.push(boundary),
|
7180
7183
|
writeStartPendingSuspenseBoundary(
|
@@ -7184,6 +7187,7 @@
|
|
7184
7187
|
),
|
7185
7188
|
flushSubtree(request, destination, segment, hoistableState);
|
7186
7189
|
else {
|
7190
|
+
flushedByteSize += boundary.byteSize;
|
7187
7191
|
hoistableState &&
|
7188
7192
|
((segment = boundary.contentState),
|
7189
7193
|
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
@@ -7217,6 +7221,7 @@
|
|
7217
7221
|
return writeEndSegment(destination, segment.parentFormatContext);
|
7218
7222
|
}
|
7219
7223
|
function flushCompletedBoundary(request, destination, boundary) {
|
7224
|
+
flushedByteSize = boundary.byteSize;
|
7220
7225
|
for (
|
7221
7226
|
var completedSegments = boundary.completedSegments, i = 0;
|
7222
7227
|
i < completedSegments.length;
|
@@ -7334,6 +7339,7 @@
|
|
7334
7339
|
if (completedRootSegment.status === POSTPONED) return;
|
7335
7340
|
var completedPreambleSegments = request.completedPreambleSegments;
|
7336
7341
|
if (null === completedPreambleSegments) return;
|
7342
|
+
flushedByteSize = request.byteSize;
|
7337
7343
|
var resumableState = request.resumableState,
|
7338
7344
|
renderState = request.renderState,
|
7339
7345
|
preamble = renderState.preamble,
|
@@ -7594,8 +7600,9 @@
|
|
7594
7600
|
a: {
|
7595
7601
|
clientRenderedBoundaries = request;
|
7596
7602
|
boundary = destination;
|
7597
|
-
var boundary$jscomp$0 = partialBoundaries[i]
|
7598
|
-
|
7603
|
+
var boundary$jscomp$0 = partialBoundaries[i];
|
7604
|
+
flushedByteSize = boundary$jscomp$0.byteSize;
|
7605
|
+
var completedSegments = boundary$jscomp$0.completedSegments;
|
7599
7606
|
for (
|
7600
7607
|
JSCompiler_inline_result = 0;
|
7601
7608
|
JSCompiler_inline_result < completedSegments.length;
|
@@ -7735,11 +7742,11 @@
|
|
7735
7742
|
}
|
7736
7743
|
function ensureCorrectIsomorphicReactVersion() {
|
7737
7744
|
var isomorphicReactPackageVersion = React.version;
|
7738
|
-
if ("19.2.0-canary-
|
7745
|
+
if ("19.2.0-canary-408d055a-20250430" !== isomorphicReactPackageVersion)
|
7739
7746
|
throw Error(
|
7740
7747
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
7741
7748
|
(isomorphicReactPackageVersion +
|
7742
|
-
"\n - react-dom: 19.2.0-canary-
|
7749
|
+
"\n - react-dom: 19.2.0-canary-408d055a-20250430\nLearn more: https://react.dev/warnings/version-mismatch")
|
7743
7750
|
);
|
7744
7751
|
}
|
7745
7752
|
function createDrainHandler(destination, request) {
|
@@ -9323,7 +9330,8 @@
|
|
9323
9330
|
didWarnAboutGetDerivedStateOnFunctionComponent = {},
|
9324
9331
|
didWarnAboutReassigningProps = !1,
|
9325
9332
|
didWarnAboutGenerators = !1,
|
9326
|
-
didWarnAboutMaps = !1
|
9333
|
+
didWarnAboutMaps = !1,
|
9334
|
+
flushedByteSize = 0;
|
9327
9335
|
ensureCorrectIsomorphicReactVersion();
|
9328
9336
|
ensureCorrectIsomorphicReactVersion();
|
9329
9337
|
exports.prerenderToNodeStream = function (children, options) {
|
@@ -9416,5 +9424,5 @@
|
|
9416
9424
|
}
|
9417
9425
|
};
|
9418
9426
|
};
|
9419
|
-
exports.version = "19.2.0-canary-
|
9427
|
+
exports.version = "19.2.0-canary-408d055a-20250430";
|
9420
9428
|
})();
|
@@ -4623,8 +4623,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4623
4623
|
queueCompletedSegment(newBoundary, contentRootSegment),
|
4624
4624
|
0 === newBoundary.pendingTasks &&
|
4625
4625
|
0 === newBoundary.status &&
|
4626
|
-
((newBoundary.status = 1),
|
4627
|
-
!(newBoundary.byteSize > request.progressiveChunkSize)))
|
4626
|
+
((newBoundary.status = 1), !(500 < newBoundary.byteSize)))
|
4628
4627
|
) {
|
4629
4628
|
0 === request.pendingRootTasks &&
|
4630
4629
|
task.blockedPreamble &&
|
@@ -5509,7 +5508,7 @@ function finishedTask(request, boundary, segment) {
|
|
5509
5508
|
boundary.parentFlushed &&
|
5510
5509
|
request.completedBoundaries.push(boundary),
|
5511
5510
|
1 === boundary.status &&
|
5512
|
-
(boundary.byteSize
|
5511
|
+
(500 < boundary.byteSize ||
|
5513
5512
|
(boundary.fallbackAbortableTasks.forEach(
|
5514
5513
|
abortTaskSoft,
|
5515
5514
|
request
|
@@ -5821,6 +5820,7 @@ function flushSubtree(request, destination, segment, hoistableState) {
|
|
5821
5820
|
);
|
5822
5821
|
}
|
5823
5822
|
}
|
5823
|
+
var flushedByteSize = 0;
|
5824
5824
|
function flushSegment(request, destination, segment, hoistableState) {
|
5825
5825
|
var boundary = segment.boundary;
|
5826
5826
|
if (null === boundary)
|
@@ -5856,7 +5856,10 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
5856
5856
|
hoistableState
|
5857
5857
|
)),
|
5858
5858
|
flushSubtree(request, destination, segment, hoistableState);
|
5859
|
-
else if (
|
5859
|
+
else if (
|
5860
|
+
500 < boundary.byteSize &&
|
5861
|
+
flushedByteSize + boundary.byteSize > request.progressiveChunkSize
|
5862
|
+
)
|
5860
5863
|
(boundary.rootSegmentID = request.nextSegmentId++),
|
5861
5864
|
request.completedBoundaries.push(boundary),
|
5862
5865
|
writeStartPendingSuspenseBoundary(
|
@@ -5866,6 +5869,7 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
5866
5869
|
),
|
5867
5870
|
flushSubtree(request, destination, segment, hoistableState);
|
5868
5871
|
else {
|
5872
|
+
flushedByteSize += boundary.byteSize;
|
5869
5873
|
hoistableState &&
|
5870
5874
|
((segment = boundary.contentState),
|
5871
5875
|
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
@@ -5891,6 +5895,7 @@ function flushSegmentContainer(request, destination, segment, hoistableState) {
|
|
5891
5895
|
return writeEndSegment(destination, segment.parentFormatContext);
|
5892
5896
|
}
|
5893
5897
|
function flushCompletedBoundary(request, destination, boundary) {
|
5898
|
+
flushedByteSize = boundary.byteSize;
|
5894
5899
|
for (
|
5895
5900
|
var completedSegments = boundary.completedSegments, i = 0;
|
5896
5901
|
i < completedSegments.length;
|
@@ -5989,6 +5994,7 @@ function flushCompletedQueues(request, destination) {
|
|
5989
5994
|
if (5 === completedRootSegment.status) return;
|
5990
5995
|
var completedPreambleSegments = request.completedPreambleSegments;
|
5991
5996
|
if (null === completedPreambleSegments) return;
|
5997
|
+
flushedByteSize = request.byteSize;
|
5992
5998
|
var resumableState = request.resumableState,
|
5993
5999
|
renderState = request.renderState,
|
5994
6000
|
preamble = renderState.preamble,
|
@@ -6174,6 +6180,7 @@ function flushCompletedQueues(request, destination) {
|
|
6174
6180
|
a: {
|
6175
6181
|
clientRenderedBoundaries = request;
|
6176
6182
|
boundary = destination;
|
6183
|
+
flushedByteSize = boundary$53.byteSize;
|
6177
6184
|
var completedSegments = boundary$53.completedSegments;
|
6178
6185
|
for (
|
6179
6186
|
JSCompiler_inline_result = 0;
|
@@ -6304,11 +6311,11 @@ function abort(request, reason) {
|
|
6304
6311
|
}
|
6305
6312
|
function ensureCorrectIsomorphicReactVersion() {
|
6306
6313
|
var isomorphicReactPackageVersion = React.version;
|
6307
|
-
if ("19.2.0-canary-
|
6314
|
+
if ("19.2.0-canary-408d055a-20250430" !== isomorphicReactPackageVersion)
|
6308
6315
|
throw Error(
|
6309
6316
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
6310
6317
|
(isomorphicReactPackageVersion +
|
6311
|
-
"\n - react-dom: 19.2.0-canary-
|
6318
|
+
"\n - react-dom: 19.2.0-canary-408d055a-20250430\nLearn more: https://react.dev/warnings/version-mismatch")
|
6312
6319
|
);
|
6313
6320
|
}
|
6314
6321
|
ensureCorrectIsomorphicReactVersion();
|
@@ -6457,4 +6464,4 @@ exports.renderToPipeableStream = function (children, options) {
|
|
6457
6464
|
}
|
6458
6465
|
};
|
6459
6466
|
};
|
6460
|
-
exports.version = "19.2.0-canary-
|
6467
|
+
exports.version = "19.2.0-canary-408d055a-20250430";
|
@@ -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-408d055a-20250430";
|
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-408d055a-20250430";
|