react-dom 19.2.0-canary-9784cb37-20250730 → 19.2.0-canary-bdb4a96f-20250801

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.
@@ -25519,11 +25519,11 @@
25519
25519
  };
25520
25520
  (function () {
25521
25521
  var isomorphicReactPackageVersion = React.version;
25522
- if ("19.2.0-canary-9784cb37-20250730" !== isomorphicReactPackageVersion)
25522
+ if ("19.2.0-canary-bdb4a96f-20250801" !== isomorphicReactPackageVersion)
25523
25523
  throw Error(
25524
25524
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
25525
25525
  (isomorphicReactPackageVersion +
25526
- "\n - react-dom: 19.2.0-canary-9784cb37-20250730\nLearn more: https://react.dev/warnings/version-mismatch")
25526
+ "\n - react-dom: 19.2.0-canary-bdb4a96f-20250801\nLearn more: https://react.dev/warnings/version-mismatch")
25527
25527
  );
25528
25528
  })();
25529
25529
  ("function" === typeof Map &&
@@ -25560,10 +25560,10 @@
25560
25560
  !(function () {
25561
25561
  var internals = {
25562
25562
  bundleType: 1,
25563
- version: "19.2.0-canary-9784cb37-20250730",
25563
+ version: "19.2.0-canary-bdb4a96f-20250801",
25564
25564
  rendererPackageName: "react-dom",
25565
25565
  currentDispatcherRef: ReactSharedInternals,
25566
- reconcilerVersion: "19.2.0-canary-9784cb37-20250730"
25566
+ reconcilerVersion: "19.2.0-canary-bdb4a96f-20250801"
25567
25567
  };
25568
25568
  internals.overrideHookState = overrideHookState;
25569
25569
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25701,7 +25701,7 @@
25701
25701
  listenToAllSupportedEvents(container);
25702
25702
  return new ReactDOMHydrationRoot(initialChildren);
25703
25703
  };
25704
- exports.version = "19.2.0-canary-9784cb37-20250730";
25704
+ exports.version = "19.2.0-canary-bdb4a96f-20250801";
25705
25705
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25706
25706
  "function" ===
25707
25707
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -15695,14 +15695,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
15695
15695
  };
15696
15696
  var isomorphicReactPackageVersion$jscomp$inline_1836 = React.version;
15697
15697
  if (
15698
- "19.2.0-canary-9784cb37-20250730" !==
15698
+ "19.2.0-canary-bdb4a96f-20250801" !==
15699
15699
  isomorphicReactPackageVersion$jscomp$inline_1836
15700
15700
  )
15701
15701
  throw Error(
15702
15702
  formatProdErrorMessage(
15703
15703
  527,
15704
15704
  isomorphicReactPackageVersion$jscomp$inline_1836,
15705
- "19.2.0-canary-9784cb37-20250730"
15705
+ "19.2.0-canary-bdb4a96f-20250801"
15706
15706
  )
15707
15707
  );
15708
15708
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15724,10 +15724,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
15724
15724
  };
15725
15725
  var internals$jscomp$inline_2329 = {
15726
15726
  bundleType: 0,
15727
- version: "19.2.0-canary-9784cb37-20250730",
15727
+ version: "19.2.0-canary-bdb4a96f-20250801",
15728
15728
  rendererPackageName: "react-dom",
15729
15729
  currentDispatcherRef: ReactSharedInternals,
15730
- reconcilerVersion: "19.2.0-canary-9784cb37-20250730"
15730
+ reconcilerVersion: "19.2.0-canary-bdb4a96f-20250801"
15731
15731
  };
15732
15732
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
15733
15733
  var hook$jscomp$inline_2330 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15825,4 +15825,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
15825
15825
  listenToAllSupportedEvents(container);
15826
15826
  return new ReactDOMHydrationRoot(initialChildren);
15827
15827
  };
15828
- exports.version = "19.2.0-canary-9784cb37-20250730";
15828
+ exports.version = "19.2.0-canary-bdb4a96f-20250801";
@@ -25571,11 +25571,11 @@
25571
25571
  };
25572
25572
  (function () {
25573
25573
  var isomorphicReactPackageVersion = React.version;
25574
- if ("19.2.0-canary-9784cb37-20250730" !== isomorphicReactPackageVersion)
25574
+ if ("19.2.0-canary-bdb4a96f-20250801" !== isomorphicReactPackageVersion)
25575
25575
  throw Error(
25576
25576
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
25577
25577
  (isomorphicReactPackageVersion +
25578
- "\n - react-dom: 19.2.0-canary-9784cb37-20250730\nLearn more: https://react.dev/warnings/version-mismatch")
25578
+ "\n - react-dom: 19.2.0-canary-bdb4a96f-20250801\nLearn more: https://react.dev/warnings/version-mismatch")
25579
25579
  );
25580
25580
  })();
25581
25581
  ("function" === typeof Map &&
@@ -25612,10 +25612,10 @@
25612
25612
  !(function () {
25613
25613
  var internals = {
25614
25614
  bundleType: 1,
25615
- version: "19.2.0-canary-9784cb37-20250730",
25615
+ version: "19.2.0-canary-bdb4a96f-20250801",
25616
25616
  rendererPackageName: "react-dom",
25617
25617
  currentDispatcherRef: ReactSharedInternals,
25618
- reconcilerVersion: "19.2.0-canary-9784cb37-20250730"
25618
+ reconcilerVersion: "19.2.0-canary-bdb4a96f-20250801"
25619
25619
  };
25620
25620
  internals.overrideHookState = overrideHookState;
25621
25621
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -26083,7 +26083,7 @@
26083
26083
  exports.useFormStatus = function () {
26084
26084
  return resolveDispatcher().useHostTransitionStatus();
26085
26085
  };
26086
- exports.version = "19.2.0-canary-9784cb37-20250730";
26086
+ exports.version = "19.2.0-canary-bdb4a96f-20250801";
26087
26087
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
26088
26088
  "function" ===
26089
26089
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -16396,14 +16396,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
16396
16396
  };
16397
16397
  var isomorphicReactPackageVersion$jscomp$inline_1940 = React.version;
16398
16398
  if (
16399
- "19.2.0-canary-9784cb37-20250730" !==
16399
+ "19.2.0-canary-bdb4a96f-20250801" !==
16400
16400
  isomorphicReactPackageVersion$jscomp$inline_1940
16401
16401
  )
16402
16402
  throw Error(
16403
16403
  formatProdErrorMessage(
16404
16404
  527,
16405
16405
  isomorphicReactPackageVersion$jscomp$inline_1940,
16406
- "19.2.0-canary-9784cb37-20250730"
16406
+ "19.2.0-canary-bdb4a96f-20250801"
16407
16407
  )
16408
16408
  );
16409
16409
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16425,10 +16425,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
16425
16425
  };
16426
16426
  var internals$jscomp$inline_1947 = {
16427
16427
  bundleType: 0,
16428
- version: "19.2.0-canary-9784cb37-20250730",
16428
+ version: "19.2.0-canary-bdb4a96f-20250801",
16429
16429
  rendererPackageName: "react-dom",
16430
16430
  currentDispatcherRef: ReactSharedInternals,
16431
- reconcilerVersion: "19.2.0-canary-9784cb37-20250730",
16431
+ reconcilerVersion: "19.2.0-canary-bdb4a96f-20250801",
16432
16432
  getLaneLabelMap: function () {
16433
16433
  for (
16434
16434
  var map = new Map(), lane = 1, index$281 = 0;
@@ -16701,7 +16701,7 @@ exports.useFormState = function (action, initialState, permalink) {
16701
16701
  exports.useFormStatus = function () {
16702
16702
  return ReactSharedInternals.H.useHostTransitionStatus();
16703
16703
  };
16704
- exports.version = "19.2.0-canary-9784cb37-20250730";
16704
+ exports.version = "19.2.0-canary-bdb4a96f-20250801";
16705
16705
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
16706
16706
  "function" ===
16707
16707
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -4353,6 +4353,9 @@
4353
4353
  }
4354
4354
  return "";
4355
4355
  }
4356
+ function isEligibleForOutlining(request, boundary) {
4357
+ return 500 < boundary.byteSize && null === boundary.contentPreamble;
4358
+ }
4356
4359
  function defaultErrorHandler(error) {
4357
4360
  if (
4358
4361
  "object" === typeof error &&
@@ -4877,7 +4880,7 @@
4877
4880
  if (
4878
4881
  1 !== rowBoundary.pendingTasks ||
4879
4882
  rowBoundary.parentFlushed ||
4880
- 500 < rowBoundary.byteSize
4883
+ isEligibleForOutlining(request, rowBoundary)
4881
4884
  ) {
4882
4885
  allCompleteAndInlinable = !1;
4883
4886
  break;
@@ -5911,7 +5914,7 @@
5911
5914
  ) {
5912
5915
  if (
5913
5916
  ((newBoundary.status = COMPLETED),
5914
- !(500 < newBoundary.byteSize))
5917
+ !isEligibleForOutlining(request, newBoundary))
5915
5918
  ) {
5916
5919
  null !== prevRow$jscomp$0 &&
5917
5920
  0 === --prevRow$jscomp$0.pendingTasks &&
@@ -7116,7 +7119,7 @@
7116
7119
  (row = boundary$jscomp$0.row),
7117
7120
  null !== row &&
7118
7121
  hoistHoistables(row.hoistables, boundary$jscomp$0.contentState),
7119
- 500 < boundary$jscomp$0.byteSize ||
7122
+ isEligibleForOutlining(request$jscomp$0, boundary$jscomp$0) ||
7120
7123
  (boundary$jscomp$0.fallbackAbortableTasks.forEach(
7121
7124
  abortTaskSoft,
7122
7125
  request$jscomp$0
@@ -7479,6 +7482,7 @@
7479
7482
  switch (boundary.status) {
7480
7483
  case COMPLETED:
7481
7484
  hoistPreambleState(request.renderState, preamble);
7485
+ request.byteSize += boundary.byteSize;
7482
7486
  segment = boundary.completedSegments[0];
7483
7487
  if (!segment)
7484
7488
  throw Error(
@@ -7511,17 +7515,17 @@
7511
7515
  null === request.completedPreambleSegments
7512
7516
  ) {
7513
7517
  var collectedPreambleSegments = [],
7518
+ originalRequestByteSize = request.byteSize,
7514
7519
  hasPendingPreambles = preparePreambleFromSegment(
7515
7520
  request,
7516
7521
  request.completedRootSegment,
7517
7522
  collectedPreambleSegments
7518
7523
  ),
7519
7524
  preamble = request.renderState.preamble;
7520
- if (
7521
- !1 === hasPendingPreambles ||
7522
- (preamble.headChunks && preamble.bodyChunks)
7523
- )
7524
- request.completedPreambleSegments = collectedPreambleSegments;
7525
+ !1 === hasPendingPreambles ||
7526
+ (preamble.headChunks && preamble.bodyChunks)
7527
+ ? (request.completedPreambleSegments = collectedPreambleSegments)
7528
+ : (request.byteSize = originalRequestByteSize);
7525
7529
  }
7526
7530
  }
7527
7531
  function flushSubtree(request, destination, segment, hoistableState) {
@@ -7634,7 +7638,7 @@
7634
7638
  destination.push(endSuspenseBoundary)
7635
7639
  );
7636
7640
  if (
7637
- 500 < boundary.byteSize &&
7641
+ isEligibleForOutlining(request, boundary) &&
7638
7642
  flushedByteSize + boundary.byteSize > request.progressiveChunkSize
7639
7643
  )
7640
7644
  return (
@@ -7652,7 +7656,7 @@
7652
7656
  hoistableState && hoistHoistables(hoistableState, boundary.contentState);
7653
7657
  segment = boundary.row;
7654
7658
  null !== segment &&
7655
- 500 < boundary.byteSize &&
7659
+ isEligibleForOutlining(request, boundary) &&
7656
7660
  0 === --segment.pendingTasks &&
7657
7661
  finishSuspenseListRow(request, segment);
7658
7662
  request.renderState.generateStaticMarkup ||
@@ -7699,7 +7703,7 @@
7699
7703
  completedSegments.length = 0;
7700
7704
  completedSegments = boundary.row;
7701
7705
  null !== completedSegments &&
7702
- 500 < boundary.byteSize &&
7706
+ isEligibleForOutlining(request, boundary) &&
7703
7707
  0 === --completedSegments.pendingTasks &&
7704
7708
  finishSuspenseListRow(request, completedSegments);
7705
7709
  writeHoistablesForBoundary(
@@ -9734,5 +9738,5 @@
9734
9738
  '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'
9735
9739
  );
9736
9740
  };
9737
- exports.version = "19.2.0-canary-9784cb37-20250730";
9741
+ exports.version = "19.2.0-canary-bdb4a96f-20250801";
9738
9742
  })();
@@ -3619,6 +3619,9 @@ function describeComponentStackByType(type) {
3619
3619
  }
3620
3620
  return "";
3621
3621
  }
3622
+ function isEligibleForOutlining(request, boundary) {
3623
+ return 500 < boundary.byteSize && null === boundary.contentPreamble;
3624
+ }
3622
3625
  function defaultErrorHandler(error) {
3623
3626
  if (
3624
3627
  "object" === typeof error &&
@@ -3981,7 +3984,7 @@ function tryToResolveTogetherRow(request, togetherRow) {
3981
3984
  if (
3982
3985
  1 !== rowBoundary.pendingTasks ||
3983
3986
  rowBoundary.parentFlushed ||
3984
- 500 < rowBoundary.byteSize
3987
+ isEligibleForOutlining(request, rowBoundary)
3985
3988
  ) {
3986
3989
  allCompleteAndInlinable = !1;
3987
3990
  break;
@@ -4595,7 +4598,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
4595
4598
  queueCompletedSegment(newBoundary, contentRootSegment),
4596
4599
  0 === newBoundary.pendingTasks && 0 === newBoundary.status)
4597
4600
  ) {
4598
- if (((newBoundary.status = 1), !(500 < newBoundary.byteSize))) {
4601
+ if (
4602
+ ((newBoundary.status = 1),
4603
+ !isEligibleForOutlining(request, newBoundary))
4604
+ ) {
4599
4605
  null !== prevRow &&
4600
4606
  0 === --prevRow.pendingTasks &&
4601
4607
  finishSuspenseListRow(request, prevRow);
@@ -5505,7 +5511,7 @@ function finishedTask(request$jscomp$0, boundary, row, segment) {
5505
5511
  (row = boundary.row),
5506
5512
  null !== row &&
5507
5513
  hoistHoistables(row.hoistables, boundary.contentState),
5508
- 500 < boundary.byteSize ||
5514
+ isEligibleForOutlining(request$jscomp$0, boundary) ||
5509
5515
  (boundary.fallbackAbortableTasks.forEach(
5510
5516
  abortTaskSoft,
5511
5517
  request$jscomp$0
@@ -5820,6 +5826,7 @@ function preparePreambleFromSegment(
5820
5826
  switch (boundary.status) {
5821
5827
  case 1:
5822
5828
  hoistPreambleState(request.renderState, preamble);
5829
+ request.byteSize += boundary.byteSize;
5823
5830
  segment = boundary.completedSegments[0];
5824
5831
  if (!segment) throw Error(formatProdErrorMessage(391));
5825
5832
  return preparePreambleFromSubtree(
@@ -5849,17 +5856,16 @@ function preparePreamble(request) {
5849
5856
  null === request.completedPreambleSegments
5850
5857
  ) {
5851
5858
  var collectedPreambleSegments = [],
5859
+ originalRequestByteSize = request.byteSize,
5852
5860
  hasPendingPreambles = preparePreambleFromSegment(
5853
5861
  request,
5854
5862
  request.completedRootSegment,
5855
5863
  collectedPreambleSegments
5856
5864
  ),
5857
5865
  preamble = request.renderState.preamble;
5858
- if (
5859
- !1 === hasPendingPreambles ||
5860
- (preamble.headChunks && preamble.bodyChunks)
5861
- )
5862
- request.completedPreambleSegments = collectedPreambleSegments;
5866
+ !1 === hasPendingPreambles || (preamble.headChunks && preamble.bodyChunks)
5867
+ ? (request.completedPreambleSegments = collectedPreambleSegments)
5868
+ : (request.byteSize = originalRequestByteSize);
5863
5869
  }
5864
5870
  }
5865
5871
  function flushSubtree(request, destination, segment, hoistableState) {
@@ -5943,7 +5949,7 @@ function flushSegment(request, destination, segment, hoistableState) {
5943
5949
  destination.push("\x3c!--/$--\x3e")
5944
5950
  );
5945
5951
  if (
5946
- 500 < boundary.byteSize &&
5952
+ isEligibleForOutlining(request, boundary) &&
5947
5953
  flushedByteSize + boundary.byteSize > request.progressiveChunkSize
5948
5954
  )
5949
5955
  return (
@@ -5961,7 +5967,7 @@ function flushSegment(request, destination, segment, hoistableState) {
5961
5967
  hoistableState && hoistHoistables(hoistableState, boundary.contentState);
5962
5968
  segment = boundary.row;
5963
5969
  null !== segment &&
5964
- 500 < boundary.byteSize &&
5970
+ isEligibleForOutlining(request, boundary) &&
5965
5971
  0 === --segment.pendingTasks &&
5966
5972
  finishSuspenseListRow(request, segment);
5967
5973
  request.renderState.generateStaticMarkup ||
@@ -6000,7 +6006,7 @@ function flushCompletedBoundary(request, destination, boundary) {
6000
6006
  completedSegments.length = 0;
6001
6007
  completedSegments = boundary.row;
6002
6008
  null !== completedSegments &&
6003
- 500 < boundary.byteSize &&
6009
+ isEligibleForOutlining(request, boundary) &&
6004
6010
  0 === --completedSegments.pendingTasks &&
6005
6011
  finishSuspenseListRow(request, completedSegments);
6006
6012
  writeHoistablesForBoundary(
@@ -6485,4 +6491,4 @@ exports.renderToString = function (children, options) {
6485
6491
  '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'
6486
6492
  );
6487
6493
  };
6488
- exports.version = "19.2.0-canary-9784cb37-20250730";
6494
+ exports.version = "19.2.0-canary-bdb4a96f-20250801";
@@ -4353,6 +4353,9 @@
4353
4353
  }
4354
4354
  return "";
4355
4355
  }
4356
+ function isEligibleForOutlining(request, boundary) {
4357
+ return 500 < boundary.byteSize && null === boundary.contentPreamble;
4358
+ }
4356
4359
  function defaultErrorHandler(error) {
4357
4360
  if (
4358
4361
  "object" === typeof error &&
@@ -4877,7 +4880,7 @@
4877
4880
  if (
4878
4881
  1 !== rowBoundary.pendingTasks ||
4879
4882
  rowBoundary.parentFlushed ||
4880
- 500 < rowBoundary.byteSize
4883
+ isEligibleForOutlining(request, rowBoundary)
4881
4884
  ) {
4882
4885
  allCompleteAndInlinable = !1;
4883
4886
  break;
@@ -5911,7 +5914,7 @@
5911
5914
  ) {
5912
5915
  if (
5913
5916
  ((newBoundary.status = COMPLETED),
5914
- !(500 < newBoundary.byteSize))
5917
+ !isEligibleForOutlining(request, newBoundary))
5915
5918
  ) {
5916
5919
  null !== prevRow$jscomp$0 &&
5917
5920
  0 === --prevRow$jscomp$0.pendingTasks &&
@@ -7116,7 +7119,7 @@
7116
7119
  (row = boundary$jscomp$0.row),
7117
7120
  null !== row &&
7118
7121
  hoistHoistables(row.hoistables, boundary$jscomp$0.contentState),
7119
- 500 < boundary$jscomp$0.byteSize ||
7122
+ isEligibleForOutlining(request$jscomp$0, boundary$jscomp$0) ||
7120
7123
  (boundary$jscomp$0.fallbackAbortableTasks.forEach(
7121
7124
  abortTaskSoft,
7122
7125
  request$jscomp$0
@@ -7479,6 +7482,7 @@
7479
7482
  switch (boundary.status) {
7480
7483
  case COMPLETED:
7481
7484
  hoistPreambleState(request.renderState, preamble);
7485
+ request.byteSize += boundary.byteSize;
7482
7486
  segment = boundary.completedSegments[0];
7483
7487
  if (!segment)
7484
7488
  throw Error(
@@ -7511,17 +7515,17 @@
7511
7515
  null === request.completedPreambleSegments
7512
7516
  ) {
7513
7517
  var collectedPreambleSegments = [],
7518
+ originalRequestByteSize = request.byteSize,
7514
7519
  hasPendingPreambles = preparePreambleFromSegment(
7515
7520
  request,
7516
7521
  request.completedRootSegment,
7517
7522
  collectedPreambleSegments
7518
7523
  ),
7519
7524
  preamble = request.renderState.preamble;
7520
- if (
7521
- !1 === hasPendingPreambles ||
7522
- (preamble.headChunks && preamble.bodyChunks)
7523
- )
7524
- request.completedPreambleSegments = collectedPreambleSegments;
7525
+ !1 === hasPendingPreambles ||
7526
+ (preamble.headChunks && preamble.bodyChunks)
7527
+ ? (request.completedPreambleSegments = collectedPreambleSegments)
7528
+ : (request.byteSize = originalRequestByteSize);
7525
7529
  }
7526
7530
  }
7527
7531
  function flushSubtree(request, destination, segment, hoistableState) {
@@ -7634,7 +7638,7 @@
7634
7638
  destination.push(endSuspenseBoundary)
7635
7639
  );
7636
7640
  if (
7637
- 500 < boundary.byteSize &&
7641
+ isEligibleForOutlining(request, boundary) &&
7638
7642
  flushedByteSize + boundary.byteSize > request.progressiveChunkSize
7639
7643
  )
7640
7644
  return (
@@ -7652,7 +7656,7 @@
7652
7656
  hoistableState && hoistHoistables(hoistableState, boundary.contentState);
7653
7657
  segment = boundary.row;
7654
7658
  null !== segment &&
7655
- 500 < boundary.byteSize &&
7659
+ isEligibleForOutlining(request, boundary) &&
7656
7660
  0 === --segment.pendingTasks &&
7657
7661
  finishSuspenseListRow(request, segment);
7658
7662
  request.renderState.generateStaticMarkup ||
@@ -7699,7 +7703,7 @@
7699
7703
  completedSegments.length = 0;
7700
7704
  completedSegments = boundary.row;
7701
7705
  null !== completedSegments &&
7702
- 500 < boundary.byteSize &&
7706
+ isEligibleForOutlining(request, boundary) &&
7703
7707
  0 === --completedSegments.pendingTasks &&
7704
7708
  finishSuspenseListRow(request, completedSegments);
7705
7709
  writeHoistablesForBoundary(
@@ -9734,5 +9738,5 @@
9734
9738
  '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'
9735
9739
  );
9736
9740
  };
9737
- exports.version = "19.2.0-canary-9784cb37-20250730";
9741
+ exports.version = "19.2.0-canary-bdb4a96f-20250801";
9738
9742
  })();
@@ -3666,6 +3666,9 @@ function describeComponentStackByType(type) {
3666
3666
  }
3667
3667
  return "";
3668
3668
  }
3669
+ function isEligibleForOutlining(request, boundary) {
3670
+ return 500 < boundary.byteSize && null === boundary.contentPreamble;
3671
+ }
3669
3672
  function defaultErrorHandler(error) {
3670
3673
  if (
3671
3674
  "object" === typeof error &&
@@ -4028,7 +4031,7 @@ function tryToResolveTogetherRow(request, togetherRow) {
4028
4031
  if (
4029
4032
  1 !== rowBoundary.pendingTasks ||
4030
4033
  rowBoundary.parentFlushed ||
4031
- 500 < rowBoundary.byteSize
4034
+ isEligibleForOutlining(request, rowBoundary)
4032
4035
  ) {
4033
4036
  allCompleteAndInlinable = !1;
4034
4037
  break;
@@ -4642,7 +4645,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
4642
4645
  queueCompletedSegment(newBoundary, contentRootSegment),
4643
4646
  0 === newBoundary.pendingTasks && 0 === newBoundary.status)
4644
4647
  ) {
4645
- if (((newBoundary.status = 1), !(500 < newBoundary.byteSize))) {
4648
+ if (
4649
+ ((newBoundary.status = 1),
4650
+ !isEligibleForOutlining(request, newBoundary))
4651
+ ) {
4646
4652
  null !== prevRow &&
4647
4653
  0 === --prevRow.pendingTasks &&
4648
4654
  finishSuspenseListRow(request, prevRow);
@@ -5570,7 +5576,7 @@ function finishedTask(request$jscomp$0, boundary, row, segment) {
5570
5576
  (row = boundary.row),
5571
5577
  null !== row &&
5572
5578
  hoistHoistables(row.hoistables, boundary.contentState),
5573
- 500 < boundary.byteSize ||
5579
+ isEligibleForOutlining(request$jscomp$0, boundary) ||
5574
5580
  (boundary.fallbackAbortableTasks.forEach(
5575
5581
  abortTaskSoft,
5576
5582
  request$jscomp$0
@@ -5890,6 +5896,7 @@ function preparePreambleFromSegment(
5890
5896
  switch (boundary.status) {
5891
5897
  case 1:
5892
5898
  hoistPreambleState(request.renderState, preamble);
5899
+ request.byteSize += boundary.byteSize;
5893
5900
  segment = boundary.completedSegments[0];
5894
5901
  if (!segment)
5895
5902
  throw Error(
@@ -5922,17 +5929,16 @@ function preparePreamble(request) {
5922
5929
  null === request.completedPreambleSegments
5923
5930
  ) {
5924
5931
  var collectedPreambleSegments = [],
5932
+ originalRequestByteSize = request.byteSize,
5925
5933
  hasPendingPreambles = preparePreambleFromSegment(
5926
5934
  request,
5927
5935
  request.completedRootSegment,
5928
5936
  collectedPreambleSegments
5929
5937
  ),
5930
5938
  preamble = request.renderState.preamble;
5931
- if (
5932
- !1 === hasPendingPreambles ||
5933
- (preamble.headChunks && preamble.bodyChunks)
5934
- )
5935
- request.completedPreambleSegments = collectedPreambleSegments;
5939
+ !1 === hasPendingPreambles || (preamble.headChunks && preamble.bodyChunks)
5940
+ ? (request.completedPreambleSegments = collectedPreambleSegments)
5941
+ : (request.byteSize = originalRequestByteSize);
5936
5942
  }
5937
5943
  }
5938
5944
  function flushSubtree(request, destination, segment, hoistableState) {
@@ -6018,7 +6024,7 @@ function flushSegment(request, destination, segment, hoistableState) {
6018
6024
  destination.push("\x3c!--/$--\x3e")
6019
6025
  );
6020
6026
  if (
6021
- 500 < boundary.byteSize &&
6027
+ isEligibleForOutlining(request, boundary) &&
6022
6028
  flushedByteSize + boundary.byteSize > request.progressiveChunkSize
6023
6029
  )
6024
6030
  return (
@@ -6036,7 +6042,7 @@ function flushSegment(request, destination, segment, hoistableState) {
6036
6042
  hoistableState && hoistHoistables(hoistableState, boundary.contentState);
6037
6043
  segment = boundary.row;
6038
6044
  null !== segment &&
6039
- 500 < boundary.byteSize &&
6045
+ isEligibleForOutlining(request, boundary) &&
6040
6046
  0 === --segment.pendingTasks &&
6041
6047
  finishSuspenseListRow(request, segment);
6042
6048
  request.renderState.generateStaticMarkup ||
@@ -6078,7 +6084,7 @@ function flushCompletedBoundary(request, destination, boundary) {
6078
6084
  completedSegments.length = 0;
6079
6085
  completedSegments = boundary.row;
6080
6086
  null !== completedSegments &&
6081
- 500 < boundary.byteSize &&
6087
+ isEligibleForOutlining(request, boundary) &&
6082
6088
  0 === --completedSegments.pendingTasks &&
6083
6089
  finishSuspenseListRow(request, completedSegments);
6084
6090
  writeHoistablesForBoundary(
@@ -6568,4 +6574,4 @@ exports.renderToString = function (children, options) {
6568
6574
  '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'
6569
6575
  );
6570
6576
  };
6571
- exports.version = "19.2.0-canary-9784cb37-20250730";
6577
+ exports.version = "19.2.0-canary-bdb4a96f-20250801";
@@ -4507,6 +4507,9 @@
4507
4507
  }
4508
4508
  return "";
4509
4509
  }
4510
+ function isEligibleForOutlining(request, boundary) {
4511
+ return 500 < boundary.byteSize && null === boundary.contentPreamble;
4512
+ }
4510
4513
  function defaultErrorHandler(error) {
4511
4514
  if (
4512
4515
  "object" === typeof error &&
@@ -5081,7 +5084,7 @@
5081
5084
  if (
5082
5085
  1 !== rowBoundary.pendingTasks ||
5083
5086
  rowBoundary.parentFlushed ||
5084
- 500 < rowBoundary.byteSize
5087
+ isEligibleForOutlining(request, rowBoundary)
5085
5088
  ) {
5086
5089
  allCompleteAndInlinable = !1;
5087
5090
  break;
@@ -6114,7 +6117,7 @@
6114
6117
  ) {
6115
6118
  if (
6116
6119
  ((newBoundary.status = COMPLETED),
6117
- !(500 < newBoundary.byteSize))
6120
+ !isEligibleForOutlining(request, newBoundary))
6118
6121
  ) {
6119
6122
  null !== prevRow$jscomp$0 &&
6120
6123
  0 === --prevRow$jscomp$0.pendingTasks &&
@@ -7339,7 +7342,7 @@
7339
7342
  (row = boundary$jscomp$0.row),
7340
7343
  null !== row &&
7341
7344
  hoistHoistables(row.hoistables, boundary$jscomp$0.contentState),
7342
- 500 < boundary$jscomp$0.byteSize ||
7345
+ isEligibleForOutlining(request$jscomp$0, boundary$jscomp$0) ||
7343
7346
  (boundary$jscomp$0.fallbackAbortableTasks.forEach(
7344
7347
  abortTaskSoft,
7345
7348
  request$jscomp$0
@@ -7704,6 +7707,7 @@
7704
7707
  switch (boundary.status) {
7705
7708
  case COMPLETED:
7706
7709
  hoistPreambleState(request.renderState, preamble);
7710
+ request.byteSize += boundary.byteSize;
7707
7711
  segment = boundary.completedSegments[0];
7708
7712
  if (!segment)
7709
7713
  throw Error(
@@ -7736,17 +7740,17 @@
7736
7740
  null === request.completedPreambleSegments
7737
7741
  ) {
7738
7742
  var collectedPreambleSegments = [],
7743
+ originalRequestByteSize = request.byteSize,
7739
7744
  hasPendingPreambles = preparePreambleFromSegment(
7740
7745
  request,
7741
7746
  request.completedRootSegment,
7742
7747
  collectedPreambleSegments
7743
7748
  ),
7744
7749
  preamble = request.renderState.preamble;
7745
- if (
7746
- !1 === hasPendingPreambles ||
7747
- (preamble.headChunks && preamble.bodyChunks)
7748
- )
7749
- request.completedPreambleSegments = collectedPreambleSegments;
7750
+ !1 === hasPendingPreambles ||
7751
+ (preamble.headChunks && preamble.bodyChunks)
7752
+ ? (request.completedPreambleSegments = collectedPreambleSegments)
7753
+ : (request.byteSize = originalRequestByteSize);
7750
7754
  }
7751
7755
  }
7752
7756
  function flushSubtree(request, destination, segment, hoistableState) {
@@ -7859,7 +7863,7 @@
7859
7863
  hoistHoistables(hoistableState, boundary.fallbackState),
7860
7864
  flushSubtree(request, destination, segment, hoistableState);
7861
7865
  else if (
7862
- 500 < boundary.byteSize &&
7866
+ isEligibleForOutlining(request, boundary) &&
7863
7867
  flushedByteSize + boundary.byteSize > request.progressiveChunkSize
7864
7868
  )
7865
7869
  (boundary.rootSegmentID = request.nextSegmentId++),
@@ -7876,7 +7880,7 @@
7876
7880
  hoistHoistables(hoistableState, boundary.contentState);
7877
7881
  segment = boundary.row;
7878
7882
  null !== segment &&
7879
- 500 < boundary.byteSize &&
7883
+ isEligibleForOutlining(request, boundary) &&
7880
7884
  0 === --segment.pendingTasks &&
7881
7885
  finishSuspenseListRow(request, segment);
7882
7886
  writeChunkAndReturn(destination, startCompletedSuspenseBoundary);
@@ -7920,7 +7924,7 @@
7920
7924
  completedSegments.length = 0;
7921
7925
  completedSegments = boundary.row;
7922
7926
  null !== completedSegments &&
7923
- 500 < boundary.byteSize &&
7927
+ isEligibleForOutlining(request, boundary) &&
7924
7928
  0 === --completedSegments.pendingTasks &&
7925
7929
  finishSuspenseListRow(request, completedSegments);
7926
7930
  writeHoistablesForBoundary(
@@ -8481,11 +8485,11 @@
8481
8485
  }
8482
8486
  function ensureCorrectIsomorphicReactVersion() {
8483
8487
  var isomorphicReactPackageVersion = React.version;
8484
- if ("19.2.0-canary-9784cb37-20250730" !== isomorphicReactPackageVersion)
8488
+ if ("19.2.0-canary-bdb4a96f-20250801" !== isomorphicReactPackageVersion)
8485
8489
  throw Error(
8486
8490
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
8487
8491
  (isomorphicReactPackageVersion +
8488
- "\n - react-dom: 19.2.0-canary-9784cb37-20250730\nLearn more: https://react.dev/warnings/version-mismatch")
8492
+ "\n - react-dom: 19.2.0-canary-bdb4a96f-20250801\nLearn more: https://react.dev/warnings/version-mismatch")
8489
8493
  );
8490
8494
  }
8491
8495
  var React = require("react"),
@@ -10175,5 +10179,5 @@
10175
10179
  startWork(request);
10176
10180
  });
10177
10181
  };
10178
- exports.version = "19.2.0-canary-9784cb37-20250730";
10182
+ exports.version = "19.2.0-canary-bdb4a96f-20250801";
10179
10183
  })();