react-dom 19.2.0-canary-c4676e72-20250520 → 19.2.0-canary-23884812-20250520

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.
@@ -3610,6 +3610,10 @@
3610
3610
  function hoistStylesheetDependency(stylesheet) {
3611
3611
  this.stylesheets.add(stylesheet);
3612
3612
  }
3613
+ function hoistHoistables(parentState, childState) {
3614
+ childState.styles.forEach(hoistStyleQueueDependency, parentState);
3615
+ childState.stylesheets.forEach(hoistStylesheetDependency, parentState);
3616
+ }
3613
3617
  function getComponentNameFromType(type) {
3614
3618
  if (null == type) return null;
3615
3619
  if ("function" === typeof type)
@@ -4587,11 +4591,14 @@
4587
4591
  };
4588
4592
  null !== row &&
4589
4593
  (row.pendingTasks++,
4590
- (row = row.boundaries),
4591
- null !== row &&
4594
+ (contentPreamble = row.boundaries),
4595
+ null !== contentPreamble &&
4592
4596
  (request.allPendingTasks++,
4593
4597
  fallbackAbortableTasks.pendingTasks++,
4594
- row.push(fallbackAbortableTasks)));
4598
+ contentPreamble.push(fallbackAbortableTasks)),
4599
+ (request = row.inheritedHoistables),
4600
+ null !== request &&
4601
+ hoistHoistables(fallbackAbortableTasks.contentState, request));
4595
4602
  return fallbackAbortableTasks;
4596
4603
  }
4597
4604
  function createRenderTask(
@@ -4869,20 +4876,70 @@
4869
4876
  : ((request.status = 13), (request.fatalError = error));
4870
4877
  }
4871
4878
  function finishSuspenseListRow(request, row) {
4872
- for (row = row.next; null !== row; ) {
4873
- var unblockedBoundaries = row.boundaries;
4879
+ unblockSuspenseListRow(request, row.next, row.hoistables);
4880
+ }
4881
+ function unblockSuspenseListRow(
4882
+ request,
4883
+ unblockedRow,
4884
+ inheritedHoistables
4885
+ ) {
4886
+ for (; null !== unblockedRow; ) {
4887
+ null !== inheritedHoistables &&
4888
+ (hoistHoistables(unblockedRow.hoistables, inheritedHoistables),
4889
+ (unblockedRow.inheritedHoistables = inheritedHoistables));
4890
+ var unblockedBoundaries = unblockedRow.boundaries;
4874
4891
  if (null !== unblockedBoundaries) {
4875
- row.boundaries = null;
4876
- for (var i = 0; i < unblockedBoundaries.length; i++)
4877
- finishedTask(request, unblockedBoundaries[i], null, null);
4892
+ unblockedRow.boundaries = null;
4893
+ for (var i = 0; i < unblockedBoundaries.length; i++) {
4894
+ var unblockedBoundary = unblockedBoundaries[i];
4895
+ null !== inheritedHoistables &&
4896
+ hoistHoistables(
4897
+ unblockedBoundary.contentState,
4898
+ inheritedHoistables
4899
+ );
4900
+ finishedTask(request, unblockedBoundary, null, null);
4901
+ }
4902
+ }
4903
+ unblockedRow.pendingTasks--;
4904
+ if (0 < unblockedRow.pendingTasks) break;
4905
+ inheritedHoistables = unblockedRow.hoistables;
4906
+ unblockedRow = unblockedRow.next;
4907
+ }
4908
+ }
4909
+ function tryToResolveTogetherRow(request, togetherRow) {
4910
+ var boundaries = togetherRow.boundaries;
4911
+ if (
4912
+ null !== boundaries &&
4913
+ togetherRow.pendingTasks === boundaries.length
4914
+ ) {
4915
+ for (
4916
+ var allCompleteAndInlinable = !0, i = 0;
4917
+ i < boundaries.length;
4918
+ i++
4919
+ ) {
4920
+ var rowBoundary = boundaries[i];
4921
+ if (
4922
+ 1 !== rowBoundary.pendingTasks ||
4923
+ rowBoundary.parentFlushed ||
4924
+ 500 < rowBoundary.byteSize
4925
+ ) {
4926
+ allCompleteAndInlinable = !1;
4927
+ break;
4928
+ }
4878
4929
  }
4879
- row.pendingTasks--;
4880
- if (0 < row.pendingTasks) break;
4881
- row = row.next;
4930
+ allCompleteAndInlinable &&
4931
+ unblockSuspenseListRow(request, togetherRow, togetherRow.hoistables);
4882
4932
  }
4883
4933
  }
4884
4934
  function createSuspenseListRow(previousRow) {
4885
- var newRow = { pendingTasks: 1, boundaries: null, next: null };
4935
+ var newRow = {
4936
+ pendingTasks: 1,
4937
+ boundaries: null,
4938
+ hoistables: createHoistableState(),
4939
+ inheritedHoistables: null,
4940
+ together: !1,
4941
+ next: null
4942
+ };
4886
4943
  null !== previousRow &&
4887
4944
  0 < previousRow.pendingTasks &&
4888
4945
  (newRow.pendingTasks++,
@@ -4891,28 +4948,25 @@
4891
4948
  return newRow;
4892
4949
  }
4893
4950
  function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
4894
- keyPath = task.keyPath;
4895
- var previousComponentStack = task.componentStack;
4951
+ var prevKeyPath = task.keyPath,
4952
+ prevTreeContext = task.treeContext,
4953
+ prevRow = task.row,
4954
+ previousComponentStack = task.componentStack;
4896
4955
  var previousDebugTask = task.debugTask;
4897
4956
  pushServerComponentStack(task, task.node.props.children._debugInfo);
4898
- var prevTreeContext = task.treeContext,
4899
- prevRow = task.row,
4900
- totalChildren = rows.length,
4901
- previousSuspenseListRow = null;
4957
+ task.keyPath = keyPath;
4958
+ keyPath = rows.length;
4959
+ var previousSuspenseListRow = null;
4902
4960
  if (null !== task.replay) {
4903
4961
  var resumeSlots = task.replay.slots;
4904
4962
  if (null !== resumeSlots && "object" === typeof resumeSlots)
4905
- for (var n = 0; n < totalChildren; n++) {
4906
- var i = "backwards" !== revealOrder ? n : totalChildren - 1 - n,
4963
+ for (var n = 0; n < keyPath; n++) {
4964
+ var i = "backwards" !== revealOrder ? n : keyPath - 1 - n,
4907
4965
  node = rows[i];
4908
4966
  task.row = previousSuspenseListRow = createSuspenseListRow(
4909
4967
  previousSuspenseListRow
4910
4968
  );
4911
- task.treeContext = pushTreeContext(
4912
- prevTreeContext,
4913
- totalChildren,
4914
- i
4915
- );
4969
+ task.treeContext = pushTreeContext(prevTreeContext, keyPath, i);
4916
4970
  var resumeSegmentID = resumeSlots[i];
4917
4971
  "number" === typeof resumeSegmentID
4918
4972
  ? (resumeNode(request, task, resumeSegmentID, node, i),
@@ -4922,32 +4976,28 @@
4922
4976
  finishSuspenseListRow(request, previousSuspenseListRow);
4923
4977
  }
4924
4978
  else
4925
- for (resumeSlots = 0; resumeSlots < totalChildren; resumeSlots++)
4979
+ for (resumeSlots = 0; resumeSlots < keyPath; resumeSlots++)
4926
4980
  (n =
4927
4981
  "backwards" !== revealOrder
4928
4982
  ? resumeSlots
4929
- : totalChildren - 1 - resumeSlots),
4983
+ : keyPath - 1 - resumeSlots),
4930
4984
  (i = rows[n]),
4931
4985
  warnForMissingKey(request, task, i),
4932
4986
  (task.row = previousSuspenseListRow =
4933
4987
  createSuspenseListRow(previousSuspenseListRow)),
4934
- (task.treeContext = pushTreeContext(
4935
- prevTreeContext,
4936
- totalChildren,
4937
- n
4938
- )),
4988
+ (task.treeContext = pushTreeContext(prevTreeContext, keyPath, n)),
4939
4989
  renderNode(request, task, i, n),
4940
4990
  0 === --previousSuspenseListRow.pendingTasks &&
4941
4991
  finishSuspenseListRow(request, previousSuspenseListRow);
4942
4992
  } else if ("backwards" !== revealOrder)
4943
- for (revealOrder = 0; revealOrder < totalChildren; revealOrder++)
4993
+ for (revealOrder = 0; revealOrder < keyPath; revealOrder++)
4944
4994
  (resumeSlots = rows[revealOrder]),
4945
4995
  warnForMissingKey(request, task, resumeSlots),
4946
4996
  (task.row = previousSuspenseListRow =
4947
4997
  createSuspenseListRow(previousSuspenseListRow)),
4948
4998
  (task.treeContext = pushTreeContext(
4949
4999
  prevTreeContext,
4950
- totalChildren,
5000
+ keyPath,
4951
5001
  revealOrder
4952
5002
  )),
4953
5003
  renderNode(request, task, resumeSlots, revealOrder),
@@ -4957,12 +5007,12 @@
4957
5007
  revealOrder = task.blockedSegment;
4958
5008
  resumeSlots = revealOrder.children.length;
4959
5009
  n = revealOrder.chunks.length;
4960
- for (i = totalChildren - 1; 0 <= i; i--) {
5010
+ for (i = keyPath - 1; 0 <= i; i--) {
4961
5011
  node = rows[i];
4962
5012
  task.row = previousSuspenseListRow = createSuspenseListRow(
4963
5013
  previousSuspenseListRow
4964
5014
  );
4965
- task.treeContext = pushTreeContext(prevTreeContext, totalChildren, i);
5015
+ task.treeContext = pushTreeContext(prevTreeContext, keyPath, i);
4966
5016
  resumeSegmentID = createPendingSegment(
4967
5017
  request,
4968
5018
  n,
@@ -4999,7 +5049,7 @@
4999
5049
  (prevRow.pendingTasks++, (previousSuspenseListRow.next = prevRow));
5000
5050
  task.treeContext = prevTreeContext;
5001
5051
  task.row = prevRow;
5002
- task.keyPath = keyPath;
5052
+ task.keyPath = prevKeyPath;
5003
5053
  task.componentStack = previousComponentStack;
5004
5054
  task.debugTask = previousDebugTask;
5005
5055
  }
@@ -5544,7 +5594,7 @@
5544
5594
  );
5545
5595
  segment.lastPushedText = !1;
5546
5596
  var _prevContext2 = task.formatContext,
5547
- _prevKeyPath2 = task.keyPath;
5597
+ _prevKeyPath3 = task.keyPath;
5548
5598
  task.keyPath = keyPath;
5549
5599
  if (
5550
5600
  (task.formatContext = getChildFormatContext(
@@ -5585,7 +5635,7 @@
5585
5635
  request.pingedTasks.push(preambleTask);
5586
5636
  } else renderNode(request, task, _children, -1);
5587
5637
  task.formatContext = _prevContext2;
5588
- task.keyPath = _prevKeyPath2;
5638
+ task.keyPath = _prevKeyPath3;
5589
5639
  a: {
5590
5640
  var target = segment.chunks,
5591
5641
  resumableState = request.resumableState;
@@ -5651,10 +5701,10 @@
5651
5701
  } else if ("hidden" !== props.mode) {
5652
5702
  segment$jscomp$0.chunks.push(startActivityBoundary);
5653
5703
  segment$jscomp$0.lastPushedText = !1;
5654
- var _prevKeyPath3 = task.keyPath;
5704
+ var _prevKeyPath4 = task.keyPath;
5655
5705
  task.keyPath = keyPath;
5656
5706
  renderNode(request, task, props.children, -1);
5657
- task.keyPath = _prevKeyPath3;
5707
+ task.keyPath = _prevKeyPath4;
5658
5708
  segment$jscomp$0.chunks.push(endActivityBoundary);
5659
5709
  segment$jscomp$0.lastPushedText = !1;
5660
5710
  }
@@ -5702,10 +5752,27 @@
5702
5752
  }
5703
5753
  }
5704
5754
  }
5705
- var prevKeyPath$jscomp$3 = task.keyPath;
5706
- task.keyPath = keyPath;
5707
- renderNodeDestructive(request, task, children$jscomp$0, -1);
5708
- task.keyPath = prevKeyPath$jscomp$3;
5755
+ if ("together" === revealOrder) {
5756
+ var _prevKeyPath2 = task.keyPath,
5757
+ prevRow = task.row,
5758
+ newRow = (task.row = createSuspenseListRow(null));
5759
+ newRow.boundaries = [];
5760
+ newRow.together = !0;
5761
+ task.keyPath = keyPath;
5762
+ renderNodeDestructive(request, task, children$jscomp$0, -1);
5763
+ 0 === --newRow.pendingTasks &&
5764
+ finishSuspenseListRow(request, newRow);
5765
+ task.keyPath = _prevKeyPath2;
5766
+ task.row = prevRow;
5767
+ null !== prevRow &&
5768
+ 0 < newRow.pendingTasks &&
5769
+ (prevRow.pendingTasks++, (newRow.next = prevRow));
5770
+ } else {
5771
+ var prevKeyPath$jscomp$3 = task.keyPath;
5772
+ task.keyPath = keyPath;
5773
+ renderNodeDestructive(request, task, children$jscomp$0, -1);
5774
+ task.keyPath = prevKeyPath$jscomp$3;
5775
+ }
5709
5776
  }
5710
5777
  return;
5711
5778
  case REACT_VIEW_TRANSITION_TYPE:
@@ -5735,7 +5802,7 @@
5735
5802
  } else {
5736
5803
  var prevKeyPath$jscomp$4 = task.keyPath,
5737
5804
  prevContext$jscomp$0 = task.formatContext,
5738
- prevRow = task.row,
5805
+ prevRow$jscomp$0 = task.row,
5739
5806
  parentBoundary = task.blockedBoundary,
5740
5807
  parentPreamble = task.blockedPreamble,
5741
5808
  parentHoistableState = task.hoistableState,
@@ -5870,18 +5937,24 @@
5870
5937
  finishedSegment(request, newBoundary, contentRootSegment),
5871
5938
  queueCompletedSegment(newBoundary, contentRootSegment),
5872
5939
  0 === newBoundary.pendingTasks &&
5873
- newBoundary.status === PENDING &&
5874
- ((newBoundary.status = COMPLETED),
5875
- !(500 < newBoundary.byteSize)))
5940
+ newBoundary.status === PENDING)
5876
5941
  ) {
5877
- null !== prevRow &&
5878
- 0 === --prevRow.pendingTasks &&
5879
- finishSuspenseListRow(request, prevRow);
5880
- 0 === request.pendingRootTasks &&
5881
- task.blockedPreamble &&
5882
- preparePreamble(request);
5883
- break a;
5884
- }
5942
+ if (
5943
+ ((newBoundary.status = COMPLETED),
5944
+ !(500 < newBoundary.byteSize))
5945
+ ) {
5946
+ null !== prevRow$jscomp$0 &&
5947
+ 0 === --prevRow$jscomp$0.pendingTasks &&
5948
+ finishSuspenseListRow(request, prevRow$jscomp$0);
5949
+ 0 === request.pendingRootTasks &&
5950
+ task.blockedPreamble &&
5951
+ preparePreamble(request);
5952
+ break a;
5953
+ }
5954
+ } else
5955
+ null !== prevRow$jscomp$0 &&
5956
+ prevRow$jscomp$0.together &&
5957
+ tryToResolveTogetherRow(request, prevRow$jscomp$0);
5885
5958
  } catch (thrownValue$2) {
5886
5959
  newBoundary.status = CLIENT_RENDERED;
5887
5960
  if (12 === request.status) {
@@ -5911,7 +5984,7 @@
5911
5984
  (task.blockedSegment = parentSegment),
5912
5985
  (task.keyPath = prevKeyPath$jscomp$4),
5913
5986
  (task.formatContext = prevContext$jscomp$0),
5914
- (task.row = prevRow);
5987
+ (task.row = prevRow$jscomp$0);
5915
5988
  }
5916
5989
  var suspendedFallbackTask = createRenderTask(
5917
5990
  request,
@@ -6871,10 +6944,6 @@
6871
6944
  if (6 === segment.status) return;
6872
6945
  segment.status = ABORTED;
6873
6946
  }
6874
- segment = task.row;
6875
- null !== segment &&
6876
- 0 === --segment.pendingTasks &&
6877
- finishSuspenseListRow(request, segment);
6878
6947
  segment = getThrownInfo(task.componentStack);
6879
6948
  if (null === boundary) {
6880
6949
  if (13 !== request.status && request.status !== CLOSED) {
@@ -6885,36 +6954,49 @@
6885
6954
  return;
6886
6955
  }
6887
6956
  boundary.pendingTasks--;
6888
- 0 === boundary.pendingTasks &&
6889
- 0 < boundary.nodes.length &&
6890
- ((task = logRecoverableError(request, error, segment, null)),
6957
+ if (0 === boundary.pendingTasks && 0 < boundary.nodes.length) {
6958
+ var errorDigest = logRecoverableError(
6959
+ request,
6960
+ error,
6961
+ segment,
6962
+ null
6963
+ );
6891
6964
  abortRemainingReplayNodes(
6892
6965
  request,
6893
6966
  null,
6894
6967
  boundary.nodes,
6895
6968
  boundary.slots,
6896
6969
  error,
6897
- task,
6970
+ errorDigest,
6898
6971
  segment,
6899
6972
  !0
6900
- ));
6973
+ );
6974
+ }
6901
6975
  request.pendingRootTasks--;
6902
6976
  0 === request.pendingRootTasks && completeShell(request);
6903
6977
  }
6904
6978
  } else
6905
- boundary.pendingTasks--,
6906
- boundary.status !== CLIENT_RENDERED &&
6907
- ((boundary.status = CLIENT_RENDERED),
6908
- (task = logRecoverableError(request, error, segment, null)),
6909
- (boundary.status = CLIENT_RENDERED),
6910
- encodeErrorForBoundary(boundary, task, error, segment, !0),
6911
- untrackBoundary(request, boundary),
6912
- boundary.parentFlushed &&
6913
- request.clientRenderedBoundaries.push(boundary)),
6979
+ boundary.status !== CLIENT_RENDERED &&
6980
+ ((boundary.status = CLIENT_RENDERED),
6981
+ (errorDigest = logRecoverableError(request, error, segment, null)),
6982
+ (boundary.status = CLIENT_RENDERED),
6983
+ encodeErrorForBoundary(boundary, errorDigest, error, segment, !0),
6984
+ untrackBoundary(request, boundary),
6985
+ boundary.parentFlushed &&
6986
+ request.clientRenderedBoundaries.push(boundary)),
6987
+ boundary.pendingTasks--,
6988
+ (segment = boundary.row),
6989
+ null !== segment &&
6990
+ 0 === --segment.pendingTasks &&
6991
+ finishSuspenseListRow(request, segment),
6914
6992
  boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
6915
6993
  return abortTask(fallbackTask, request, error);
6916
6994
  }),
6917
6995
  boundary.fallbackAbortableTasks.clear();
6996
+ task = task.row;
6997
+ null !== task &&
6998
+ 0 === --task.pendingTasks &&
6999
+ finishSuspenseListRow(request, task);
6918
7000
  request.allPendingTasks--;
6919
7001
  0 === request.allPendingTasks && completeAll(request);
6920
7002
  }
@@ -7028,8 +7110,9 @@
7028
7110
  }
7029
7111
  function finishedTask(request, boundary, row, segment) {
7030
7112
  null !== row &&
7031
- 0 === --row.pendingTasks &&
7032
- finishSuspenseListRow(request, row);
7113
+ (0 === --row.pendingTasks
7114
+ ? finishSuspenseListRow(request, row)
7115
+ : row.together && tryToResolveTogetherRow(request, row));
7033
7116
  request.allPendingTasks--;
7034
7117
  if (null === boundary) {
7035
7118
  if (null !== segment && segment.parentFlushed) {
@@ -7053,13 +7136,15 @@
7053
7136
  boundary.parentFlushed &&
7054
7137
  request.completedBoundaries.push(boundary),
7055
7138
  boundary.status === COMPLETED &&
7056
- (500 < boundary.byteSize ||
7139
+ ((row = boundary.row),
7140
+ null !== row &&
7141
+ hoistHoistables(row.hoistables, boundary.contentState),
7142
+ 500 < boundary.byteSize ||
7057
7143
  (boundary.fallbackAbortableTasks.forEach(
7058
7144
  abortTaskSoft,
7059
7145
  request
7060
7146
  ),
7061
7147
  boundary.fallbackAbortableTasks.clear(),
7062
- (row = boundary.row),
7063
7148
  null !== row &&
7064
7149
  0 === --row.pendingTasks &&
7065
7150
  finishSuspenseListRow(request, row)),
@@ -7067,13 +7152,17 @@
7067
7152
  null === request.trackedPostpones &&
7068
7153
  null !== boundary.contentPreamble &&
7069
7154
  preparePreamble(request)))
7070
- : null !== segment &&
7071
- segment.parentFlushed &&
7072
- segment.status === COMPLETED &&
7073
- (queueCompletedSegment(boundary, segment),
7074
- 1 === boundary.completedSegments.length &&
7075
- boundary.parentFlushed &&
7076
- request.partialBoundaries.push(boundary)));
7155
+ : (null !== segment &&
7156
+ segment.parentFlushed &&
7157
+ segment.status === COMPLETED &&
7158
+ (queueCompletedSegment(boundary, segment),
7159
+ 1 === boundary.completedSegments.length &&
7160
+ boundary.parentFlushed &&
7161
+ request.partialBoundaries.push(boundary)),
7162
+ (boundary = boundary.row),
7163
+ null !== boundary &&
7164
+ boundary.together &&
7165
+ tryToResolveTogetherRow(request, boundary)));
7077
7166
  0 === request.allPendingTasks && completeAll(request);
7078
7167
  }
7079
7168
  function performWork(request$jscomp$2) {
@@ -7255,32 +7344,37 @@
7255
7344
  errorInfo$jscomp$1,
7256
7345
  debugTask
7257
7346
  );
7258
- null === boundary$jscomp$0
7259
- ? fatalError(
7260
- request,
7261
- x$jscomp$0,
7262
- errorInfo$jscomp$1,
7263
- debugTask
7264
- )
7265
- : (boundary$jscomp$0.pendingTasks--,
7266
- boundary$jscomp$0.status !== CLIENT_RENDERED &&
7267
- ((boundary$jscomp$0.status = CLIENT_RENDERED),
7268
- encodeErrorForBoundary(
7269
- boundary$jscomp$0,
7270
- prevTaskInDEV,
7271
- x$jscomp$0,
7272
- errorInfo$jscomp$1,
7273
- !1
7274
- ),
7275
- untrackBoundary(request, boundary$jscomp$0),
7276
- boundary$jscomp$0.parentFlushed &&
7277
- request.clientRenderedBoundaries.push(
7278
- boundary$jscomp$0
7279
- ),
7280
- 0 === request.pendingRootTasks &&
7281
- null === request.trackedPostpones &&
7282
- null !== boundary$jscomp$0.contentPreamble &&
7283
- preparePreamble(request)));
7347
+ if (null === boundary$jscomp$0)
7348
+ fatalError(
7349
+ request,
7350
+ x$jscomp$0,
7351
+ errorInfo$jscomp$1,
7352
+ debugTask
7353
+ );
7354
+ else if (
7355
+ (boundary$jscomp$0.pendingTasks--,
7356
+ boundary$jscomp$0.status !== CLIENT_RENDERED)
7357
+ ) {
7358
+ boundary$jscomp$0.status = CLIENT_RENDERED;
7359
+ encodeErrorForBoundary(
7360
+ boundary$jscomp$0,
7361
+ prevTaskInDEV,
7362
+ x$jscomp$0,
7363
+ errorInfo$jscomp$1,
7364
+ !1
7365
+ );
7366
+ untrackBoundary(request, boundary$jscomp$0);
7367
+ var boundaryRow = boundary$jscomp$0.row;
7368
+ null !== boundaryRow &&
7369
+ 0 === --boundaryRow.pendingTasks &&
7370
+ finishSuspenseListRow(request, boundaryRow);
7371
+ boundary$jscomp$0.parentFlushed &&
7372
+ request.clientRenderedBoundaries.push(boundary$jscomp$0);
7373
+ 0 === request.pendingRootTasks &&
7374
+ null === request.trackedPostpones &&
7375
+ null !== boundary$jscomp$0.contentPreamble &&
7376
+ preparePreamble(request);
7377
+ }
7284
7378
  0 === request.allPendingTasks && completeAll(request);
7285
7379
  }
7286
7380
  } finally {
@@ -7483,12 +7577,7 @@
7483
7577
  boundary.rootSegmentID
7484
7578
  ),
7485
7579
  hoistableState &&
7486
- ((boundary = boundary.fallbackState),
7487
- boundary.styles.forEach(hoistStyleQueueDependency, hoistableState),
7488
- boundary.stylesheets.forEach(
7489
- hoistStylesheetDependency,
7490
- hoistableState
7491
- )),
7580
+ hoistHoistables(hoistableState, boundary.fallbackState),
7492
7581
  flushSubtree(request, destination, segment, hoistableState);
7493
7582
  else if (
7494
7583
  500 < boundary.byteSize &&
@@ -7505,12 +7594,7 @@
7505
7594
  else {
7506
7595
  flushedByteSize += boundary.byteSize;
7507
7596
  hoistableState &&
7508
- ((segment = boundary.contentState),
7509
- segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
7510
- segment.stylesheets.forEach(
7511
- hoistStylesheetDependency,
7512
- hoistableState
7513
- ));
7597
+ hoistHoistables(hoistableState, boundary.contentState);
7514
7598
  segment = boundary.row;
7515
7599
  null !== segment &&
7516
7600
  500 < boundary.byteSize &&
@@ -7953,6 +8037,17 @@
7953
8037
  break a;
7954
8038
  }
7955
8039
  completedSegments.splice(0, JSCompiler_inline_result);
8040
+ var row = boundary$jscomp$0.row;
8041
+ null !== row &&
8042
+ row.together &&
8043
+ 1 === boundary$jscomp$0.pendingTasks &&
8044
+ (1 === row.pendingTasks
8045
+ ? unblockSuspenseListRow(
8046
+ clientRenderedBoundaries,
8047
+ row,
8048
+ row.hoistables
8049
+ )
8050
+ : row.pendingTasks--);
7956
8051
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
7957
8052
  boundary,
7958
8053
  boundary$jscomp$0.contentState,
@@ -8072,11 +8167,11 @@
8072
8167
  }
8073
8168
  function ensureCorrectIsomorphicReactVersion() {
8074
8169
  var isomorphicReactPackageVersion = React.version;
8075
- if ("19.2.0-canary-c4676e72-20250520" !== isomorphicReactPackageVersion)
8170
+ if ("19.2.0-canary-23884812-20250520" !== isomorphicReactPackageVersion)
8076
8171
  throw Error(
8077
8172
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
8078
8173
  (isomorphicReactPackageVersion +
8079
- "\n - react-dom: 19.2.0-canary-c4676e72-20250520\nLearn more: https://react.dev/warnings/version-mismatch")
8174
+ "\n - react-dom: 19.2.0-canary-23884812-20250520\nLearn more: https://react.dev/warnings/version-mismatch")
8080
8175
  );
8081
8176
  }
8082
8177
  function createDrainHandler(destination, request) {
@@ -9758,5 +9853,5 @@
9758
9853
  }
9759
9854
  };
9760
9855
  };
9761
- exports.version = "19.2.0-canary-c4676e72-20250520";
9856
+ exports.version = "19.2.0-canary-23884812-20250520";
9762
9857
  })();