react-dom 19.2.0-canary-223f81d8-20250707 → 19.2.0-canary-befc1246-20250708

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.
@@ -6026,6 +6026,18 @@ function pushComponentStack(task) {
6026
6026
  pushServerComponentStack(task, node._debugInfo);
6027
6027
  }
6028
6028
  }
6029
+ function replaceSuspenseComponentStackWithSuspenseFallbackStack(
6030
+ componentStack
6031
+ ) {
6032
+ return null === componentStack
6033
+ ? null
6034
+ : {
6035
+ parent: componentStack.parent,
6036
+ type: "Suspense Fallback",
6037
+ owner: componentStack.owner,
6038
+ stack: componentStack.stack
6039
+ };
6040
+ }
6029
6041
  function getThrownInfo(node$jscomp$0) {
6030
6042
  var errorInfo = {};
6031
6043
  node$jscomp$0 &&
@@ -6794,27 +6806,21 @@ function renderElement(request, task, keyPath, type, props, ref) {
6794
6806
  !1
6795
6807
  );
6796
6808
  segment.preambleChildren.push(preambleSegment);
6797
- var preambleTask = createRenderTask(
6798
- request,
6799
- null,
6800
- _children,
6801
- -1,
6802
- task.blockedBoundary,
6803
- preambleSegment,
6804
- task.blockedPreamble,
6805
- task.hoistableState,
6806
- request.abortableTasks,
6807
- task.keyPath,
6808
- task.formatContext,
6809
- task.context,
6810
- task.treeContext,
6811
- task.row,
6812
- task.componentStack,
6813
- emptyContextObject,
6814
- task.debugTask
6815
- );
6816
- pushComponentStack(preambleTask);
6817
- request.pingedTasks.push(preambleTask);
6809
+ task.blockedSegment = preambleSegment;
6810
+ try {
6811
+ (preambleSegment.status = 6),
6812
+ renderNode(request, task, _children, -1),
6813
+ pushSegmentFinale(
6814
+ preambleSegment.chunks,
6815
+ request.renderState,
6816
+ preambleSegment.lastPushedText,
6817
+ preambleSegment.textEmbedded
6818
+ ),
6819
+ (preambleSegment.status = COMPLETED),
6820
+ finishedSegment(request, task.blockedBoundary, preambleSegment);
6821
+ } finally {
6822
+ task.blockedSegment = segment;
6823
+ }
6818
6824
  } else renderNode(request, task, _children, -1);
6819
6825
  task.formatContext = _prevContext2;
6820
6826
  task.keyPath = _prevKeyPath3;
@@ -7032,7 +7038,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
7032
7038
  );
7033
7039
  contentRootSegment.parentFlushed = !0;
7034
7040
  if (null !== request.trackedPostpones) {
7035
- var fallbackKeyPath = [keyPath[0], "Suspense Fallback", keyPath[2]],
7041
+ var suspenseComponentStack = task.componentStack,
7042
+ fallbackKeyPath = [keyPath[0], "Suspense Fallback", keyPath[2]],
7036
7043
  fallbackReplayNode = [
7037
7044
  fallbackKeyPath[1],
7038
7045
  fallbackKeyPath[2],
@@ -7051,6 +7058,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
7051
7058
  request.resumableState,
7052
7059
  prevContext$jscomp$0
7053
7060
  );
7061
+ task.componentStack =
7062
+ replaceSuspenseComponentStackWithSuspenseFallbackStack(
7063
+ suspenseComponentStack
7064
+ );
7054
7065
  boundarySegment.status = 6;
7055
7066
  try {
7056
7067
  renderNode(request, task, fallback, -1),
@@ -7092,7 +7103,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
7092
7103
  task.context,
7093
7104
  task.treeContext,
7094
7105
  null,
7095
- task.componentStack,
7106
+ suspenseComponentStack,
7096
7107
  emptyContextObject,
7097
7108
  task.debugTask
7098
7109
  );
@@ -7190,7 +7201,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
7190
7201
  task.context,
7191
7202
  task.treeContext,
7192
7203
  task.row,
7193
- task.componentStack,
7204
+ replaceSuspenseComponentStackWithSuspenseFallbackStack(
7205
+ task.componentStack
7206
+ ),
7194
7207
  emptyContextObject,
7195
7208
  task.debugTask
7196
7209
  );
@@ -7510,7 +7523,9 @@ function replayElement(
7510
7523
  task.context,
7511
7524
  task.treeContext,
7512
7525
  task.row,
7513
- task.componentStack,
7526
+ replaceSuspenseComponentStackWithSuspenseFallbackStack(
7527
+ task.componentStack
7528
+ ),
7514
7529
  emptyContextObject,
7515
7530
  task.debugTask
7516
7531
  );
@@ -9308,15 +9323,15 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
9308
9323
  parentNode[2].push(node);
9309
9324
  }
9310
9325
  }
9311
- var isomorphicReactPackageVersion$jscomp$inline_763 = React.version;
9326
+ var isomorphicReactPackageVersion$jscomp$inline_764 = React.version;
9312
9327
  if (
9313
- "19.2.0-canary-223f81d8-20250707" !==
9314
- isomorphicReactPackageVersion$jscomp$inline_763
9328
+ "19.2.0-canary-befc1246-20250708" !==
9329
+ isomorphicReactPackageVersion$jscomp$inline_764
9315
9330
  )
9316
9331
  throw Error(
9317
9332
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
9318
- (isomorphicReactPackageVersion$jscomp$inline_763 +
9319
- "\n - react-dom: 19.2.0-canary-223f81d8-20250707\nLearn more: https://react.dev/warnings/version-mismatch")
9333
+ (isomorphicReactPackageVersion$jscomp$inline_764 +
9334
+ "\n - react-dom: 19.2.0-canary-befc1246-20250708\nLearn more: https://react.dev/warnings/version-mismatch")
9320
9335
  );
9321
9336
  exports.renderToReadableStream = function (children, options) {
9322
9337
  return new Promise(function (resolve, reject) {
@@ -9409,4 +9424,4 @@ exports.renderToReadableStream = function (children, options) {
9409
9424
  startWork(request$jscomp$0);
9410
9425
  });
9411
9426
  };
9412
- exports.version = "19.2.0-canary-223f81d8-20250707";
9427
+ exports.version = "19.2.0-canary-befc1246-20250708";
@@ -3943,6 +3943,13 @@ function pushComponentStack(task) {
3943
3943
  task.componentStack = { parent: task.componentStack, type: node.type };
3944
3944
  }
3945
3945
  }
3946
+ function replaceSuspenseComponentStackWithSuspenseFallbackStack(
3947
+ componentStack
3948
+ ) {
3949
+ return null === componentStack
3950
+ ? null
3951
+ : { parent: componentStack.parent, type: "Suspense Fallback" };
3952
+ }
3946
3953
  function getThrownInfo(node$jscomp$0) {
3947
3954
  var errorInfo = {};
3948
3955
  node$jscomp$0 &&
@@ -4323,7 +4330,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
4323
4330
  (task.formatContext = defaultProps),
4324
4331
  (task.keyPath = initialState);
4325
4332
  else {
4326
- ref = pushStartInstance(
4333
+ initialState = pushStartInstance(
4327
4334
  newProps.chunks,
4328
4335
  type,
4329
4336
  props,
@@ -4336,42 +4343,40 @@ function renderElement(request, task, keyPath, type, props, ref) {
4336
4343
  );
4337
4344
  newProps.lastPushedText = !1;
4338
4345
  defaultProps = task.formatContext;
4339
- initialState = task.keyPath;
4346
+ ref = task.keyPath;
4340
4347
  task.keyPath = keyPath;
4341
- 3 ===
4342
- (task.formatContext = getChildFormatContext(defaultProps, type, props))
4343
- .insertionMode
4344
- ? ((keyPath = createPendingSegment(
4345
- request,
4346
- 0,
4347
- null,
4348
- task.formatContext,
4349
- !1,
4350
- !1
4351
- )),
4352
- newProps.preambleChildren.push(keyPath),
4353
- (keyPath = createRenderTask(
4354
- request,
4355
- null,
4356
- ref,
4357
- -1,
4358
- task.blockedBoundary,
4359
- keyPath,
4360
- task.blockedPreamble,
4361
- task.hoistableState,
4362
- request.abortableTasks,
4363
- task.keyPath,
4364
- task.formatContext,
4365
- task.context,
4366
- task.treeContext,
4367
- task.row,
4368
- task.componentStack
4369
- )),
4370
- pushComponentStack(keyPath),
4371
- request.pingedTasks.push(keyPath))
4372
- : renderNode(request, task, ref, -1);
4348
+ if (
4349
+ 3 ===
4350
+ (task.formatContext = getChildFormatContext(defaultProps, type, props))
4351
+ .insertionMode
4352
+ ) {
4353
+ keyPath = createPendingSegment(
4354
+ request,
4355
+ 0,
4356
+ null,
4357
+ task.formatContext,
4358
+ !1,
4359
+ !1
4360
+ );
4361
+ newProps.preambleChildren.push(keyPath);
4362
+ task.blockedSegment = keyPath;
4363
+ try {
4364
+ (keyPath.status = 6),
4365
+ renderNode(request, task, initialState, -1),
4366
+ pushSegmentFinale(
4367
+ keyPath.chunks,
4368
+ request.renderState,
4369
+ keyPath.lastPushedText,
4370
+ keyPath.textEmbedded
4371
+ ),
4372
+ (keyPath.status = 1),
4373
+ finishedSegment(request, task.blockedBoundary, keyPath);
4374
+ } finally {
4375
+ task.blockedSegment = newProps;
4376
+ }
4377
+ } else renderNode(request, task, initialState, -1);
4373
4378
  task.formatContext = defaultProps;
4374
- task.keyPath = initialState;
4379
+ task.keyPath = ref;
4375
4380
  a: {
4376
4381
  task = newProps.chunks;
4377
4382
  request = request.resumableState;
@@ -4559,17 +4564,20 @@ function renderElement(request, task, keyPath, type, props, ref) {
4559
4564
  );
4560
4565
  contentRootSegment.parentFlushed = !0;
4561
4566
  if (null !== request.trackedPostpones) {
4562
- newProps = [keyPath[0], "Suspense Fallback", keyPath[2]];
4563
- defaultProps = [newProps[1], newProps[2], [], null];
4564
- request.trackedPostpones.workingMap.set(newProps, defaultProps);
4565
- newBoundary.trackedFallbackNode = defaultProps;
4567
+ newProps = task.componentStack;
4568
+ defaultProps = [keyPath[0], "Suspense Fallback", keyPath[2]];
4569
+ initialState = [defaultProps[1], defaultProps[2], [], null];
4570
+ request.trackedPostpones.workingMap.set(defaultProps, initialState);
4571
+ newBoundary.trackedFallbackNode = initialState;
4566
4572
  task.blockedSegment = boundarySegment;
4567
4573
  task.blockedPreamble = newBoundary.fallbackPreamble;
4568
- task.keyPath = newProps;
4574
+ task.keyPath = defaultProps;
4569
4575
  task.formatContext = getSuspenseFallbackFormatContext(
4570
4576
  request.resumableState,
4571
4577
  ref
4572
4578
  );
4579
+ task.componentStack =
4580
+ replaceSuspenseComponentStackWithSuspenseFallbackStack(newProps);
4573
4581
  boundarySegment.status = 6;
4574
4582
  try {
4575
4583
  renderNode(request, task, fallback, -1),
@@ -4610,7 +4618,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
4610
4618
  task.context,
4611
4619
  task.treeContext,
4612
4620
  null,
4613
- task.componentStack
4621
+ newProps
4614
4622
  );
4615
4623
  pushComponentStack(task);
4616
4624
  request.pingedTasks.push(task);
@@ -4695,7 +4703,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
4695
4703
  task.context,
4696
4704
  task.treeContext,
4697
4705
  task.row,
4698
- task.componentStack
4706
+ replaceSuspenseComponentStackWithSuspenseFallbackStack(
4707
+ task.componentStack
4708
+ )
4699
4709
  );
4700
4710
  pushComponentStack(task);
4701
4711
  request.pingedTasks.push(task);
@@ -5008,7 +5018,9 @@ function retryNode(request, task) {
5008
5018
  task.context,
5009
5019
  task.treeContext,
5010
5020
  task.row,
5011
- task.componentStack
5021
+ replaceSuspenseComponentStackWithSuspenseFallbackStack(
5022
+ task.componentStack
5023
+ )
5012
5024
  );
5013
5025
  pushComponentStack(childNodes);
5014
5026
  request.pingedTasks.push(childNodes);
@@ -6485,15 +6497,15 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
6485
6497
  parentNode[2].push(node);
6486
6498
  }
6487
6499
  }
6488
- var isomorphicReactPackageVersion$jscomp$inline_815 = React.version;
6500
+ var isomorphicReactPackageVersion$jscomp$inline_816 = React.version;
6489
6501
  if (
6490
- "19.2.0-canary-223f81d8-20250707" !==
6491
- isomorphicReactPackageVersion$jscomp$inline_815
6502
+ "19.2.0-canary-befc1246-20250708" !==
6503
+ isomorphicReactPackageVersion$jscomp$inline_816
6492
6504
  )
6493
6505
  throw Error(
6494
6506
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
6495
- (isomorphicReactPackageVersion$jscomp$inline_815 +
6496
- "\n - react-dom: 19.2.0-canary-223f81d8-20250707\nLearn more: https://react.dev/warnings/version-mismatch")
6507
+ (isomorphicReactPackageVersion$jscomp$inline_816 +
6508
+ "\n - react-dom: 19.2.0-canary-befc1246-20250708\nLearn more: https://react.dev/warnings/version-mismatch")
6497
6509
  );
6498
6510
  exports.renderToReadableStream = function (children, options) {
6499
6511
  return new Promise(function (resolve, reject) {
@@ -6584,4 +6596,4 @@ exports.renderToReadableStream = function (children, options) {
6584
6596
  startWork(request);
6585
6597
  });
6586
6598
  };
6587
- exports.version = "19.2.0-canary-223f81d8-20250707";
6599
+ exports.version = "19.2.0-canary-befc1246-20250708";
@@ -4940,6 +4940,18 @@
4940
4940
  pushServerComponentStack(task, node._debugInfo);
4941
4941
  }
4942
4942
  }
4943
+ function replaceSuspenseComponentStackWithSuspenseFallbackStack(
4944
+ componentStack
4945
+ ) {
4946
+ return null === componentStack
4947
+ ? null
4948
+ : {
4949
+ parent: componentStack.parent,
4950
+ type: "Suspense Fallback",
4951
+ owner: componentStack.owner,
4952
+ stack: componentStack.stack
4953
+ };
4954
+ }
4943
4955
  function getThrownInfo(node$jscomp$0) {
4944
4956
  var errorInfo = {};
4945
4957
  node$jscomp$0 &&
@@ -5762,27 +5774,18 @@
5762
5774
  !1
5763
5775
  );
5764
5776
  segment.preambleChildren.push(preambleSegment);
5765
- var preambleTask = createRenderTask(
5766
- request,
5767
- null,
5768
- _children,
5769
- -1,
5770
- task.blockedBoundary,
5771
- preambleSegment,
5772
- task.blockedPreamble,
5773
- task.hoistableState,
5774
- request.abortableTasks,
5775
- task.keyPath,
5776
- task.formatContext,
5777
- task.context,
5778
- task.treeContext,
5779
- task.row,
5780
- task.componentStack,
5781
- emptyContextObject,
5782
- task.debugTask
5783
- );
5784
- pushComponentStack(preambleTask);
5785
- request.pingedTasks.push(preambleTask);
5777
+ task.blockedSegment = preambleSegment;
5778
+ try {
5779
+ (preambleSegment.status = 6),
5780
+ renderNode(request, task, _children, -1),
5781
+ preambleSegment.lastPushedText &&
5782
+ preambleSegment.textEmbedded &&
5783
+ preambleSegment.chunks.push(textSeparator),
5784
+ (preambleSegment.status = COMPLETED),
5785
+ finishedSegment(request, task.blockedBoundary, preambleSegment);
5786
+ } finally {
5787
+ task.blockedSegment = segment;
5788
+ }
5786
5789
  } else renderNode(request, task, _children, -1);
5787
5790
  task.formatContext = _prevContext2;
5788
5791
  task.keyPath = _prevKeyPath3;
@@ -6002,7 +6005,8 @@
6002
6005
  );
6003
6006
  contentRootSegment.parentFlushed = !0;
6004
6007
  if (null !== request.trackedPostpones) {
6005
- var fallbackKeyPath = [
6008
+ var suspenseComponentStack = task.componentStack,
6009
+ fallbackKeyPath = [
6006
6010
  keyPath[0],
6007
6011
  "Suspense Fallback",
6008
6012
  keyPath[2]
@@ -6025,6 +6029,10 @@
6025
6029
  request.resumableState,
6026
6030
  prevContext$jscomp$0
6027
6031
  );
6032
+ task.componentStack =
6033
+ replaceSuspenseComponentStackWithSuspenseFallbackStack(
6034
+ suspenseComponentStack
6035
+ );
6028
6036
  boundarySegment.status = 6;
6029
6037
  try {
6030
6038
  renderNode(request, task, fallback, -1),
@@ -6063,7 +6071,7 @@
6063
6071
  task.context,
6064
6072
  task.treeContext,
6065
6073
  null,
6066
- task.componentStack,
6074
+ suspenseComponentStack,
6067
6075
  emptyContextObject,
6068
6076
  task.debugTask
6069
6077
  );
@@ -6159,7 +6167,9 @@
6159
6167
  task.context,
6160
6168
  task.treeContext,
6161
6169
  task.row,
6162
- task.componentStack,
6170
+ replaceSuspenseComponentStackWithSuspenseFallbackStack(
6171
+ task.componentStack
6172
+ ),
6163
6173
  emptyContextObject,
6164
6174
  task.debugTask
6165
6175
  );
@@ -6485,7 +6495,9 @@
6485
6495
  task.context,
6486
6496
  task.treeContext,
6487
6497
  task.row,
6488
- task.componentStack,
6498
+ replaceSuspenseComponentStackWithSuspenseFallbackStack(
6499
+ task.componentStack
6500
+ ),
6489
6501
  emptyContextObject,
6490
6502
  task.debugTask
6491
6503
  );
@@ -8459,11 +8471,11 @@
8459
8471
  }
8460
8472
  function ensureCorrectIsomorphicReactVersion() {
8461
8473
  var isomorphicReactPackageVersion = React.version;
8462
- if ("19.2.0-canary-223f81d8-20250707" !== isomorphicReactPackageVersion)
8474
+ if ("19.2.0-canary-befc1246-20250708" !== isomorphicReactPackageVersion)
8463
8475
  throw Error(
8464
8476
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
8465
8477
  (isomorphicReactPackageVersion +
8466
- "\n - react-dom: 19.2.0-canary-223f81d8-20250707\nLearn more: https://react.dev/warnings/version-mismatch")
8478
+ "\n - react-dom: 19.2.0-canary-befc1246-20250708\nLearn more: https://react.dev/warnings/version-mismatch")
8467
8479
  );
8468
8480
  }
8469
8481
  var React = require("react"),
@@ -10149,5 +10161,5 @@
10149
10161
  startWork(request);
10150
10162
  });
10151
10163
  };
10152
- exports.version = "19.2.0-canary-223f81d8-20250707";
10164
+ exports.version = "19.2.0-canary-befc1246-20250708";
10153
10165
  })();
@@ -4385,6 +4385,13 @@ function pushComponentStack(task) {
4385
4385
  task.componentStack = { parent: task.componentStack, type: node.type };
4386
4386
  }
4387
4387
  }
4388
+ function replaceSuspenseComponentStackWithSuspenseFallbackStack(
4389
+ componentStack
4390
+ ) {
4391
+ return null === componentStack
4392
+ ? null
4393
+ : { parent: componentStack.parent, type: "Suspense Fallback" };
4394
+ }
4388
4395
  function getThrownInfo(node$jscomp$0) {
4389
4396
  var errorInfo = {};
4390
4397
  node$jscomp$0 &&
@@ -4762,7 +4769,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
4762
4769
  (task.formatContext = defaultProps),
4763
4770
  (task.keyPath = initialState);
4764
4771
  else {
4765
- ref = pushStartInstance(
4772
+ initialState = pushStartInstance(
4766
4773
  newProps.chunks,
4767
4774
  type,
4768
4775
  props,
@@ -4775,42 +4782,37 @@ function renderElement(request, task, keyPath, type, props, ref) {
4775
4782
  );
4776
4783
  newProps.lastPushedText = !1;
4777
4784
  defaultProps = task.formatContext;
4778
- initialState = task.keyPath;
4785
+ ref = task.keyPath;
4779
4786
  task.keyPath = keyPath;
4780
- 3 ===
4781
- (task.formatContext = getChildFormatContext(defaultProps, type, props))
4782
- .insertionMode
4783
- ? ((keyPath = createPendingSegment(
4784
- request,
4785
- 0,
4786
- null,
4787
- task.formatContext,
4788
- !1,
4789
- !1
4790
- )),
4791
- newProps.preambleChildren.push(keyPath),
4792
- (keyPath = createRenderTask(
4793
- request,
4794
- null,
4795
- ref,
4796
- -1,
4797
- task.blockedBoundary,
4798
- keyPath,
4799
- task.blockedPreamble,
4800
- task.hoistableState,
4801
- request.abortableTasks,
4802
- task.keyPath,
4803
- task.formatContext,
4804
- task.context,
4805
- task.treeContext,
4806
- task.row,
4807
- task.componentStack
4808
- )),
4809
- pushComponentStack(keyPath),
4810
- request.pingedTasks.push(keyPath))
4811
- : renderNode(request, task, ref, -1);
4787
+ if (
4788
+ 3 ===
4789
+ (task.formatContext = getChildFormatContext(defaultProps, type, props))
4790
+ .insertionMode
4791
+ ) {
4792
+ keyPath = createPendingSegment(
4793
+ request,
4794
+ 0,
4795
+ null,
4796
+ task.formatContext,
4797
+ !1,
4798
+ !1
4799
+ );
4800
+ newProps.preambleChildren.push(keyPath);
4801
+ task.blockedSegment = keyPath;
4802
+ try {
4803
+ (keyPath.status = 6),
4804
+ renderNode(request, task, initialState, -1),
4805
+ keyPath.lastPushedText &&
4806
+ keyPath.textEmbedded &&
4807
+ keyPath.chunks.push(textSeparator),
4808
+ (keyPath.status = 1),
4809
+ finishedSegment(request, task.blockedBoundary, keyPath);
4810
+ } finally {
4811
+ task.blockedSegment = newProps;
4812
+ }
4813
+ } else renderNode(request, task, initialState, -1);
4812
4814
  task.formatContext = defaultProps;
4813
- task.keyPath = initialState;
4815
+ task.keyPath = ref;
4814
4816
  a: {
4815
4817
  task = newProps.chunks;
4816
4818
  request = request.resumableState;
@@ -4998,17 +5000,20 @@ function renderElement(request, task, keyPath, type, props, ref) {
4998
5000
  );
4999
5001
  contentRootSegment.parentFlushed = !0;
5000
5002
  if (null !== request.trackedPostpones) {
5001
- newProps = [keyPath[0], "Suspense Fallback", keyPath[2]];
5002
- defaultProps = [newProps[1], newProps[2], [], null];
5003
- request.trackedPostpones.workingMap.set(newProps, defaultProps);
5004
- newBoundary.trackedFallbackNode = defaultProps;
5003
+ newProps = task.componentStack;
5004
+ defaultProps = [keyPath[0], "Suspense Fallback", keyPath[2]];
5005
+ initialState = [defaultProps[1], defaultProps[2], [], null];
5006
+ request.trackedPostpones.workingMap.set(defaultProps, initialState);
5007
+ newBoundary.trackedFallbackNode = initialState;
5005
5008
  task.blockedSegment = boundarySegment;
5006
5009
  task.blockedPreamble = newBoundary.fallbackPreamble;
5007
- task.keyPath = newProps;
5010
+ task.keyPath = defaultProps;
5008
5011
  task.formatContext = getSuspenseFallbackFormatContext(
5009
5012
  request.resumableState,
5010
5013
  ref
5011
5014
  );
5015
+ task.componentStack =
5016
+ replaceSuspenseComponentStackWithSuspenseFallbackStack(newProps);
5012
5017
  boundarySegment.status = 6;
5013
5018
  try {
5014
5019
  renderNode(request, task, fallback, -1),
@@ -5046,7 +5051,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
5046
5051
  task.context,
5047
5052
  task.treeContext,
5048
5053
  null,
5049
- task.componentStack
5054
+ newProps
5050
5055
  );
5051
5056
  pushComponentStack(task);
5052
5057
  request.pingedTasks.push(task);
@@ -5128,7 +5133,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
5128
5133
  task.context,
5129
5134
  task.treeContext,
5130
5135
  task.row,
5131
- task.componentStack
5136
+ replaceSuspenseComponentStackWithSuspenseFallbackStack(
5137
+ task.componentStack
5138
+ )
5132
5139
  );
5133
5140
  pushComponentStack(task);
5134
5141
  request.pingedTasks.push(task);
@@ -5441,7 +5448,9 @@ function retryNode(request, task) {
5441
5448
  task.context,
5442
5449
  task.treeContext,
5443
5450
  task.row,
5444
- task.componentStack
5451
+ replaceSuspenseComponentStackWithSuspenseFallbackStack(
5452
+ task.componentStack
5453
+ )
5445
5454
  );
5446
5455
  pushComponentStack(childNodes);
5447
5456
  request.pingedTasks.push(childNodes);
@@ -6940,11 +6949,11 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
6940
6949
  }
6941
6950
  function ensureCorrectIsomorphicReactVersion() {
6942
6951
  var isomorphicReactPackageVersion = React.version;
6943
- if ("19.2.0-canary-223f81d8-20250707" !== isomorphicReactPackageVersion)
6952
+ if ("19.2.0-canary-befc1246-20250708" !== isomorphicReactPackageVersion)
6944
6953
  throw Error(
6945
6954
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
6946
6955
  (isomorphicReactPackageVersion +
6947
- "\n - react-dom: 19.2.0-canary-223f81d8-20250707\nLearn more: https://react.dev/warnings/version-mismatch")
6956
+ "\n - react-dom: 19.2.0-canary-befc1246-20250708\nLearn more: https://react.dev/warnings/version-mismatch")
6948
6957
  );
6949
6958
  }
6950
6959
  ensureCorrectIsomorphicReactVersion();
@@ -7090,4 +7099,4 @@ exports.renderToReadableStream = function (children, options) {
7090
7099
  startWork(request);
7091
7100
  });
7092
7101
  };
7093
- exports.version = "19.2.0-canary-223f81d8-20250707";
7102
+ exports.version = "19.2.0-canary-befc1246-20250708";