react-dom 19.2.0-canary-d85f86cf-20250514 → 19.2.0-canary-4448b187-20250515

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.
@@ -1041,11 +1041,17 @@
1041
1041
  function createPreambleState() {
1042
1042
  return { htmlChunks: null, headChunks: null, bodyChunks: null };
1043
1043
  }
1044
- function createFormatContext(insertionMode, selectedValue, tagScope) {
1044
+ function createFormatContext(
1045
+ insertionMode,
1046
+ selectedValue,
1047
+ tagScope,
1048
+ viewTransition
1049
+ ) {
1045
1050
  return {
1046
1051
  insertionMode: insertionMode,
1047
1052
  selectedValue: selectedValue,
1048
- tagScope: tagScope
1053
+ tagScope: tagScope,
1054
+ viewTransition: viewTransition
1049
1055
  };
1050
1056
  }
1051
1057
  function createRootFormatContext(namespaceURI) {
@@ -1056,67 +1062,62 @@
1056
1062
  ? MATHML_MODE
1057
1063
  : ROOT_HTML_MODE,
1058
1064
  null,
1059
- 0
1065
+ 0,
1066
+ null
1060
1067
  );
1061
1068
  }
1062
1069
  function getChildFormatContext(parentContext, type, props) {
1070
+ var subtreeScope = parentContext.tagScope & -25;
1063
1071
  switch (type) {
1064
1072
  case "noscript":
1065
- return createFormatContext(
1066
- HTML_MODE,
1067
- null,
1068
- parentContext.tagScope | 1
1069
- );
1073
+ return createFormatContext(HTML_MODE, null, subtreeScope | 1, null);
1070
1074
  case "select":
1071
1075
  return createFormatContext(
1072
1076
  HTML_MODE,
1073
1077
  null != props.value ? props.value : props.defaultValue,
1074
- parentContext.tagScope
1078
+ subtreeScope,
1079
+ null
1075
1080
  );
1076
1081
  case "svg":
1077
- return createFormatContext(SVG_MODE, null, parentContext.tagScope);
1082
+ return createFormatContext(SVG_MODE, null, subtreeScope, null);
1078
1083
  case "picture":
1079
- return createFormatContext(
1080
- HTML_MODE,
1081
- null,
1082
- parentContext.tagScope | 2
1083
- );
1084
+ return createFormatContext(HTML_MODE, null, subtreeScope | 2, null);
1084
1085
  case "math":
1085
- return createFormatContext(MATHML_MODE, null, parentContext.tagScope);
1086
+ return createFormatContext(MATHML_MODE, null, subtreeScope, null);
1086
1087
  case "foreignObject":
1087
- return createFormatContext(HTML_MODE, null, parentContext.tagScope);
1088
+ return createFormatContext(HTML_MODE, null, subtreeScope, null);
1088
1089
  case "table":
1089
- return createFormatContext(
1090
- HTML_TABLE_MODE,
1091
- null,
1092
- parentContext.tagScope
1093
- );
1090
+ return createFormatContext(HTML_TABLE_MODE, null, subtreeScope, null);
1094
1091
  case "thead":
1095
1092
  case "tbody":
1096
1093
  case "tfoot":
1097
1094
  return createFormatContext(
1098
1095
  HTML_TABLE_BODY_MODE,
1099
1096
  null,
1100
- parentContext.tagScope
1097
+ subtreeScope,
1098
+ null
1101
1099
  );
1102
1100
  case "colgroup":
1103
1101
  return createFormatContext(
1104
1102
  HTML_COLGROUP_MODE,
1105
1103
  null,
1106
- parentContext.tagScope
1104
+ subtreeScope,
1105
+ null
1107
1106
  );
1108
1107
  case "tr":
1109
1108
  return createFormatContext(
1110
1109
  HTML_TABLE_ROW_MODE,
1111
1110
  null,
1112
- parentContext.tagScope
1111
+ subtreeScope,
1112
+ null
1113
1113
  );
1114
1114
  case "head":
1115
1115
  if (parentContext.insertionMode < HTML_MODE)
1116
1116
  return createFormatContext(
1117
1117
  HTML_HEAD_MODE,
1118
1118
  null,
1119
- parentContext.tagScope
1119
+ subtreeScope,
1120
+ null
1120
1121
  );
1121
1122
  break;
1122
1123
  case "html":
@@ -1124,13 +1125,50 @@
1124
1125
  return createFormatContext(
1125
1126
  HTML_HTML_MODE,
1126
1127
  null,
1127
- parentContext.tagScope
1128
+ subtreeScope,
1129
+ null
1128
1130
  );
1129
1131
  }
1130
1132
  return parentContext.insertionMode >= HTML_TABLE_MODE ||
1131
1133
  parentContext.insertionMode < HTML_MODE
1132
- ? createFormatContext(HTML_MODE, null, parentContext.tagScope)
1133
- : parentContext;
1134
+ ? createFormatContext(HTML_MODE, null, subtreeScope, null)
1135
+ : parentContext.tagScope !== subtreeScope
1136
+ ? createFormatContext(
1137
+ parentContext.insertionMode,
1138
+ parentContext.selectedValue,
1139
+ subtreeScope,
1140
+ null
1141
+ )
1142
+ : parentContext;
1143
+ }
1144
+ function getSuspenseViewTransition(parentViewTransition) {
1145
+ return null === parentViewTransition
1146
+ ? null
1147
+ : {
1148
+ update: parentViewTransition.update,
1149
+ enter: null,
1150
+ exit: null,
1151
+ share: parentViewTransition.update,
1152
+ name: parentViewTransition.autoName,
1153
+ autoName: parentViewTransition.autoName,
1154
+ nameIdx: 0
1155
+ };
1156
+ }
1157
+ function getSuspenseFallbackFormatContext(parentContext) {
1158
+ return createFormatContext(
1159
+ parentContext.insertionMode,
1160
+ parentContext.selectedValue,
1161
+ parentContext.tagScope | 12,
1162
+ getSuspenseViewTransition(parentContext.viewTransition)
1163
+ );
1164
+ }
1165
+ function getSuspenseContentFormatContext(parentContext) {
1166
+ return createFormatContext(
1167
+ parentContext.insertionMode,
1168
+ parentContext.selectedValue,
1169
+ parentContext.tagScope | 16,
1170
+ getSuspenseViewTransition(parentContext.viewTransition)
1171
+ );
1134
1172
  }
1135
1173
  function pushTextInstance(target, text, renderState, textEmbedded) {
1136
1174
  if ("" === text) return textEmbedded;
@@ -1860,8 +1898,7 @@
1860
1898
  preambleState,
1861
1899
  hoistableState,
1862
1900
  formatContext,
1863
- textEmbedded,
1864
- isFallback
1901
+ textEmbedded
1865
1902
  ) {
1866
1903
  validateProperties$2(type, props);
1867
1904
  ("input" !== type && "textarea" !== type && "select" !== type) ||
@@ -2490,8 +2527,8 @@
2490
2527
  } else JSCompiler_inline_result$jscomp$3 = children$jscomp$5;
2491
2528
  return JSCompiler_inline_result$jscomp$3;
2492
2529
  case "title":
2493
- var insertionMode = formatContext.insertionMode,
2494
- noscriptTagInScope = !!(formatContext.tagScope & 1);
2530
+ var noscriptTagInScope = formatContext.tagScope & 1,
2531
+ isFallback = formatContext.tagScope & 4;
2495
2532
  if (hasOwnProperty.call(props, "children")) {
2496
2533
  var children$jscomp$6 = props.children,
2497
2534
  child = Array.isArray(children$jscomp$6)
@@ -2520,7 +2557,7 @@
2520
2557
  ));
2521
2558
  }
2522
2559
  if (
2523
- insertionMode === SVG_MODE ||
2560
+ formatContext.insertionMode === SVG_MODE ||
2524
2561
  noscriptTagInScope ||
2525
2562
  null != props.itemProp
2526
2563
  )
@@ -2535,12 +2572,14 @@
2535
2572
  (JSCompiler_inline_result$jscomp$4 = void 0));
2536
2573
  return JSCompiler_inline_result$jscomp$4;
2537
2574
  case "link":
2538
- var rel = props.rel,
2575
+ var noscriptTagInScope$jscomp$0 = formatContext.tagScope & 1,
2576
+ isFallback$jscomp$0 = formatContext.tagScope & 4,
2577
+ rel = props.rel,
2539
2578
  href = props.href,
2540
2579
  precedence = props.precedence;
2541
2580
  if (
2542
2581
  formatContext.insertionMode === SVG_MODE ||
2543
- formatContext.tagScope & 1 ||
2582
+ noscriptTagInScope$jscomp$0 ||
2544
2583
  null != props.itemProp ||
2545
2584
  "string" !== typeof rel ||
2546
2585
  "string" !== typeof href ||
@@ -2641,12 +2680,13 @@
2641
2680
  props
2642
2681
  ))
2643
2682
  : (textEmbedded && target$jscomp$0.push(textSeparator),
2644
- (JSCompiler_inline_result$jscomp$5 = isFallback
2683
+ (JSCompiler_inline_result$jscomp$5 = isFallback$jscomp$0
2645
2684
  ? null
2646
2685
  : pushLinkImpl(renderState.hoistableChunks, props)));
2647
2686
  return JSCompiler_inline_result$jscomp$5;
2648
2687
  case "script":
2649
- var asyncProp = props.async;
2688
+ var noscriptTagInScope$jscomp$1 = formatContext.tagScope & 1,
2689
+ asyncProp = props.async;
2650
2690
  if (
2651
2691
  "string" !== typeof props.src ||
2652
2692
  !props.src ||
@@ -2656,7 +2696,7 @@
2656
2696
  props.onLoad ||
2657
2697
  props.onError ||
2658
2698
  formatContext.insertionMode === SVG_MODE ||
2659
- formatContext.tagScope & 1 ||
2699
+ noscriptTagInScope$jscomp$1 ||
2660
2700
  null != props.itemProp
2661
2701
  )
2662
2702
  var JSCompiler_inline_result$jscomp$6 = pushScriptImpl(
@@ -2694,8 +2734,7 @@
2694
2734
  }
2695
2735
  return JSCompiler_inline_result$jscomp$6;
2696
2736
  case "style":
2697
- var insertionMode$jscomp$0 = formatContext.insertionMode,
2698
- noscriptTagInScope$jscomp$0 = !!(formatContext.tagScope & 1);
2737
+ var noscriptTagInScope$jscomp$2 = formatContext.tagScope & 1;
2699
2738
  if (hasOwnProperty.call(props, "children")) {
2700
2739
  var children$jscomp$7 = props.children,
2701
2740
  child$jscomp$0 = Array.isArray(children$jscomp$7)
@@ -2718,8 +2757,8 @@
2718
2757
  var precedence$jscomp$0 = props.precedence,
2719
2758
  href$jscomp$0 = props.href;
2720
2759
  if (
2721
- insertionMode$jscomp$0 === SVG_MODE ||
2722
- noscriptTagInScope$jscomp$0 ||
2760
+ formatContext.insertionMode === SVG_MODE ||
2761
+ noscriptTagInScope$jscomp$2 ||
2723
2762
  null != props.itemProp ||
2724
2763
  "string" !== typeof precedence$jscomp$0 ||
2725
2764
  "string" !== typeof href$jscomp$0 ||
@@ -2841,9 +2880,11 @@
2841
2880
  }
2842
2881
  return JSCompiler_inline_result$jscomp$7;
2843
2882
  case "meta":
2883
+ var noscriptTagInScope$jscomp$3 = formatContext.tagScope & 1,
2884
+ isFallback$jscomp$1 = formatContext.tagScope & 4;
2844
2885
  if (
2845
2886
  formatContext.insertionMode === SVG_MODE ||
2846
- formatContext.tagScope & 1 ||
2887
+ noscriptTagInScope$jscomp$3 ||
2847
2888
  null != props.itemProp
2848
2889
  )
2849
2890
  var JSCompiler_inline_result$jscomp$8 = pushSelfClosing(
@@ -2853,7 +2894,7 @@
2853
2894
  );
2854
2895
  else
2855
2896
  textEmbedded && target$jscomp$0.push(textSeparator),
2856
- (JSCompiler_inline_result$jscomp$8 = isFallback
2897
+ (JSCompiler_inline_result$jscomp$8 = isFallback$jscomp$1
2857
2898
  ? null
2858
2899
  : "string" === typeof props.charSet
2859
2900
  ? pushSelfClosing(renderState.charsetChunks, props, "meta")
@@ -2916,17 +2957,18 @@
2916
2957
  target$jscomp$0.push(leadingNewline);
2917
2958
  return children$jscomp$10;
2918
2959
  case "img":
2919
- var src = props.src,
2960
+ var pictureOrNoScriptTagInScope = formatContext.tagScope & 3,
2961
+ src = props.src,
2920
2962
  srcSet = props.srcSet;
2921
2963
  if (
2922
2964
  !(
2923
2965
  "lazy" === props.loading ||
2924
2966
  (!src && !srcSet) ||
2925
2967
  ("string" !== typeof src && null != src) ||
2926
- ("string" !== typeof srcSet && null != srcSet)
2968
+ ("string" !== typeof srcSet && null != srcSet) ||
2969
+ "low" === props.fetchPriority ||
2970
+ pictureOrNoScriptTagInScope
2927
2971
  ) &&
2928
- "low" !== props.fetchPriority &&
2929
- !1 === !!(formatContext.tagScope & 3) &&
2930
2972
  ("string" !== typeof src ||
2931
2973
  ":" !== src[4] ||
2932
2974
  ("d" !== src[0] && "D" !== src[0]) ||
@@ -4543,7 +4585,6 @@
4543
4585
  null,
4544
4586
  emptyTreeContext,
4545
4587
  null,
4546
- !1,
4547
4588
  emptyContextObject,
4548
4589
  null
4549
4590
  );
@@ -4638,7 +4679,6 @@
4638
4679
  context,
4639
4680
  treeContext,
4640
4681
  componentStack,
4641
- isFallback,
4642
4682
  legacyContext,
4643
4683
  debugTask
4644
4684
  ) {
@@ -4663,8 +4703,7 @@
4663
4703
  context: context,
4664
4704
  treeContext: treeContext,
4665
4705
  componentStack: componentStack,
4666
- thenableState: thenableState,
4667
- isFallback: isFallback
4706
+ thenableState: thenableState
4668
4707
  };
4669
4708
  task.debugTask = debugTask;
4670
4709
  abortSet.add(task);
@@ -4684,7 +4723,6 @@
4684
4723
  context,
4685
4724
  treeContext,
4686
4725
  componentStack,
4687
- isFallback,
4688
4726
  legacyContext,
4689
4727
  debugTask
4690
4728
  ) {
@@ -4710,8 +4748,7 @@
4710
4748
  context: context,
4711
4749
  treeContext: treeContext,
4712
4750
  componentStack: componentStack,
4713
- thenableState: thenableState,
4714
- isFallback: isFallback
4751
+ thenableState: thenableState
4715
4752
  };
4716
4753
  task.debugTask = debugTask;
4717
4754
  abortSet.add(task);
@@ -5433,16 +5470,15 @@
5433
5470
  task.blockedPreamble,
5434
5471
  task.hoistableState,
5435
5472
  task.formatContext,
5436
- segment.lastPushedText,
5437
- task.isFallback
5473
+ segment.lastPushedText
5438
5474
  );
5439
5475
  segment.lastPushedText = !1;
5440
- var _prevContext = task.formatContext,
5476
+ var _prevContext2 = task.formatContext,
5441
5477
  _prevKeyPath2 = task.keyPath;
5442
5478
  task.keyPath = keyPath;
5443
5479
  if (
5444
5480
  (task.formatContext = getChildFormatContext(
5445
- _prevContext,
5481
+ _prevContext2,
5446
5482
  type,
5447
5483
  props
5448
5484
  )).insertionMode === HTML_HEAD_MODE
@@ -5471,14 +5507,13 @@
5471
5507
  task.context,
5472
5508
  task.treeContext,
5473
5509
  task.componentStack,
5474
- task.isFallback,
5475
5510
  emptyContextObject,
5476
5511
  task.debugTask
5477
5512
  );
5478
5513
  pushComponentStack(preambleTask);
5479
5514
  request.pingedTasks.push(preambleTask);
5480
5515
  } else renderNode(request, task, _children, -1);
5481
- task.formatContext = _prevContext;
5516
+ task.formatContext = _prevContext2;
5482
5517
  task.keyPath = _prevKeyPath2;
5483
5518
  a: {
5484
5519
  var target = segment.chunks,
@@ -5504,19 +5539,19 @@
5504
5539
  case "wbr":
5505
5540
  break a;
5506
5541
  case "body":
5507
- if (_prevContext.insertionMode <= HTML_HTML_MODE) {
5542
+ if (_prevContext2.insertionMode <= HTML_HTML_MODE) {
5508
5543
  resumableState.hasBody = !0;
5509
5544
  break a;
5510
5545
  }
5511
5546
  break;
5512
5547
  case "html":
5513
- if (_prevContext.insertionMode === ROOT_HTML_MODE) {
5548
+ if (_prevContext2.insertionMode === ROOT_HTML_MODE) {
5514
5549
  resumableState.hasHtml = !0;
5515
5550
  break a;
5516
5551
  }
5517
5552
  break;
5518
5553
  case "head":
5519
- if (_prevContext.insertionMode <= HTML_HTML_MODE) break a;
5554
+ if (_prevContext2.insertionMode <= HTML_HTML_MODE) break a;
5520
5555
  }
5521
5556
  target.push(endChunkForTag(type));
5522
5557
  }
@@ -5566,16 +5601,21 @@
5566
5601
  );
5567
5602
  case REACT_SUSPENSE_TYPE:
5568
5603
  a: if (null !== task.replay) {
5569
- var _prevKeyPath = task.keyPath;
5604
+ var _prevKeyPath = task.keyPath,
5605
+ _prevContext = task.formatContext;
5570
5606
  task.keyPath = keyPath;
5607
+ task.formatContext =
5608
+ getSuspenseContentFormatContext(_prevContext);
5571
5609
  var _content = props.children;
5572
5610
  try {
5573
5611
  renderNode(request, task, _content, -1);
5574
5612
  } finally {
5575
- task.keyPath = _prevKeyPath;
5613
+ (task.keyPath = _prevKeyPath),
5614
+ (task.formatContext = _prevContext);
5576
5615
  }
5577
5616
  } else {
5578
5617
  var prevKeyPath$jscomp$3 = task.keyPath,
5618
+ prevContext$jscomp$0 = task.formatContext,
5579
5619
  parentBoundary = task.blockedBoundary,
5580
5620
  parentPreamble = task.blockedPreamble,
5581
5621
  parentHoistableState = task.hoistableState,
@@ -5638,6 +5678,8 @@
5638
5678
  task.blockedSegment = boundarySegment;
5639
5679
  task.blockedPreamble = newBoundary.fallbackPreamble;
5640
5680
  task.keyPath = fallbackKeyPath;
5681
+ task.formatContext =
5682
+ getSuspenseFallbackFormatContext(prevContext$jscomp$0);
5641
5683
  boundarySegment.status = 6;
5642
5684
  try {
5643
5685
  renderNode(request, task, fallback, -1),
@@ -5654,7 +5696,8 @@
5654
5696
  } finally {
5655
5697
  (task.blockedSegment = parentSegment),
5656
5698
  (task.blockedPreamble = parentPreamble),
5657
- (task.keyPath = prevKeyPath$jscomp$3);
5699
+ (task.keyPath = prevKeyPath$jscomp$3),
5700
+ (task.formatContext = prevContext$jscomp$0);
5658
5701
  }
5659
5702
  var suspendedPrimaryTask = createRenderTask(
5660
5703
  request,
@@ -5667,11 +5710,10 @@
5667
5710
  newBoundary.contentState,
5668
5711
  task.abortSet,
5669
5712
  keyPath,
5670
- task.formatContext,
5713
+ getSuspenseContentFormatContext(task.formatContext),
5671
5714
  task.context,
5672
5715
  task.treeContext,
5673
5716
  task.componentStack,
5674
- task.isFallback,
5675
5717
  emptyContextObject,
5676
5718
  task.debugTask
5677
5719
  );
@@ -5683,6 +5725,8 @@
5683
5725
  task.hoistableState = newBoundary.contentState;
5684
5726
  task.blockedSegment = contentRootSegment;
5685
5727
  task.keyPath = keyPath;
5728
+ task.formatContext =
5729
+ getSuspenseContentFormatContext(prevContext$jscomp$0);
5686
5730
  contentRootSegment.status = 6;
5687
5731
  try {
5688
5732
  if (
@@ -5730,7 +5774,8 @@
5730
5774
  (task.blockedPreamble = parentPreamble),
5731
5775
  (task.hoistableState = parentHoistableState),
5732
5776
  (task.blockedSegment = parentSegment),
5733
- (task.keyPath = prevKeyPath$jscomp$3);
5777
+ (task.keyPath = prevKeyPath$jscomp$3),
5778
+ (task.formatContext = prevContext$jscomp$0);
5734
5779
  }
5735
5780
  var suspendedFallbackTask = createRenderTask(
5736
5781
  request,
@@ -5743,11 +5788,10 @@
5743
5788
  newBoundary.fallbackState,
5744
5789
  fallbackAbortSet,
5745
5790
  [keyPath[0], "Suspense Fallback", keyPath[2]],
5746
- task.formatContext,
5791
+ getSuspenseFallbackFormatContext(task.formatContext),
5747
5792
  task.context,
5748
5793
  task.treeContext,
5749
5794
  task.componentStack,
5750
- !0,
5751
5795
  emptyContextObject,
5752
5796
  task.debugTask
5753
5797
  );
@@ -5928,9 +5972,9 @@
5928
5972
  ">. The tree doesn't match so React will fallback to client rendering."
5929
5973
  );
5930
5974
  var childNodes = node[2];
5931
- node = node[3];
5932
- name = task.node;
5933
- task.replay = { nodes: childNodes, slots: node, pendingTasks: 1 };
5975
+ name = node[3];
5976
+ keyOrIndex = task.node;
5977
+ task.replay = { nodes: childNodes, slots: name, pendingTasks: 1 };
5934
5978
  try {
5935
5979
  renderElement(request, task, keyPath, type, props, ref);
5936
5980
  if (
@@ -5947,21 +5991,21 @@
5947
5991
  null !== x &&
5948
5992
  (x === SuspenseException || "function" === typeof x.then)
5949
5993
  )
5950
- throw (task.node === name && (task.replay = replay), x);
5994
+ throw (task.node === keyOrIndex && (task.replay = replay), x);
5951
5995
  task.replay.pendingTasks--;
5952
5996
  type = getThrownInfo(task.componentStack);
5953
5997
  props = request;
5954
5998
  request = task.blockedBoundary;
5955
5999
  keyPath = x;
5956
- ref = node;
5957
- node = logRecoverableError(props, keyPath, type, task.debugTask);
6000
+ ref = name;
6001
+ name = logRecoverableError(props, keyPath, type, task.debugTask);
5958
6002
  abortRemainingReplayNodes(
5959
6003
  props,
5960
6004
  request,
5961
6005
  childNodes,
5962
6006
  ref,
5963
6007
  keyPath,
5964
- node,
6008
+ name,
5965
6009
  type,
5966
6010
  !1
5967
6011
  );
@@ -5976,12 +6020,13 @@
5976
6020
  );
5977
6021
  a: {
5978
6022
  replay = void 0;
5979
- type = node[5];
5980
- ref = node[2];
5981
- name = node[3];
6023
+ name = node[5];
6024
+ type = node[2];
6025
+ ref = node[3];
5982
6026
  keyOrIndex = null === node[4] ? [] : node[4][2];
5983
6027
  node = null === node[4] ? null : node[4][3];
5984
6028
  var prevKeyPath = task.keyPath,
6029
+ prevContext = task.formatContext,
5985
6030
  previousReplaySet = task.replay,
5986
6031
  parentBoundary = task.blockedBoundary,
5987
6032
  parentHoistableState = task.hoistableState,
@@ -6003,11 +6048,12 @@
6003
6048
  null
6004
6049
  );
6005
6050
  props.parentFlushed = !0;
6006
- props.rootSegmentID = type;
6051
+ props.rootSegmentID = name;
6007
6052
  task.blockedBoundary = props;
6008
6053
  task.hoistableState = props.contentState;
6009
6054
  task.keyPath = keyPath;
6010
- task.replay = { nodes: ref, slots: name, pendingTasks: 1 };
6055
+ task.formatContext = getSuspenseContentFormatContext(prevContext);
6056
+ task.replay = { nodes: type, slots: ref, pendingTasks: 1 };
6011
6057
  try {
6012
6058
  renderNode(request, task, content, -1);
6013
6059
  if (
@@ -6039,7 +6085,8 @@
6039
6085
  (task.blockedBoundary = parentBoundary),
6040
6086
  (task.hoistableState = parentHoistableState),
6041
6087
  (task.replay = previousReplaySet),
6042
- (task.keyPath = prevKeyPath);
6088
+ (task.keyPath = prevKeyPath),
6089
+ (task.formatContext = prevContext);
6043
6090
  }
6044
6091
  props = createReplayTask(
6045
6092
  request,
@@ -6051,11 +6098,10 @@
6051
6098
  props.fallbackState,
6052
6099
  fallbackAbortSet,
6053
6100
  [keyPath[0], "Suspense Fallback", keyPath[2]],
6054
- task.formatContext,
6101
+ getSuspenseFallbackFormatContext(task.formatContext),
6055
6102
  task.context,
6056
6103
  task.treeContext,
6057
6104
  task.componentStack,
6058
- !0,
6059
6105
  emptyContextObject,
6060
6106
  task.debugTask
6061
6107
  );
@@ -6440,7 +6486,6 @@
6440
6486
  task.context,
6441
6487
  task.treeContext,
6442
6488
  task.componentStack,
6443
- task.isFallback,
6444
6489
  emptyContextObject,
6445
6490
  task.debugTask
6446
6491
  );
@@ -6472,7 +6517,6 @@
6472
6517
  task.context,
6473
6518
  task.treeContext,
6474
6519
  task.componentStack,
6475
- task.isFallback,
6476
6520
  emptyContextObject,
6477
6521
  task.debugTask
6478
6522
  );
@@ -7848,11 +7892,11 @@
7848
7892
  }
7849
7893
  function ensureCorrectIsomorphicReactVersion() {
7850
7894
  var isomorphicReactPackageVersion = React.version;
7851
- if ("19.2.0-canary-d85f86cf-20250514" !== isomorphicReactPackageVersion)
7895
+ if ("19.2.0-canary-4448b187-20250515" !== isomorphicReactPackageVersion)
7852
7896
  throw Error(
7853
7897
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7854
7898
  (isomorphicReactPackageVersion +
7855
- "\n - react-dom: 19.2.0-canary-d85f86cf-20250514\nLearn more: https://react.dev/warnings/version-mismatch")
7899
+ "\n - react-dom: 19.2.0-canary-4448b187-20250515\nLearn more: https://react.dev/warnings/version-mismatch")
7856
7900
  );
7857
7901
  }
7858
7902
  var React = require("react"),
@@ -9538,5 +9582,5 @@
9538
9582
  startWork(request);
9539
9583
  });
9540
9584
  };
9541
- exports.version = "19.2.0-canary-d85f86cf-20250514";
9585
+ exports.version = "19.2.0-canary-4448b187-20250515";
9542
9586
  })();