react-dom 19.1.0-canary-d331ba04-20250307 → 19.1.0-canary-6aa8254b-20250312

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.
@@ -7633,6 +7633,9 @@ function safelyAttachRef(current, nearestMountedAncestor) {
7633
7633
  case 5:
7634
7634
  var instanceToUse = current.stateNode;
7635
7635
  break;
7636
+ case 30:
7637
+ instanceToUse = current.stateNode;
7638
+ break;
7636
7639
  default:
7637
7640
  instanceToUse = current.stateNode;
7638
7641
  }
@@ -8167,6 +8170,8 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
8167
8170
  ? safelyAttachRef(finishedWork, finishedWork.return)
8168
8171
  : safelyDetachRef(finishedWork, finishedWork.return));
8169
8172
  break;
8173
+ case 30:
8174
+ break;
8170
8175
  default:
8171
8176
  recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
8172
8177
  }
@@ -8858,6 +8863,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
8858
8863
  attachSuspenseRetryListeners(finishedWork, flags)));
8859
8864
  break;
8860
8865
  case 30:
8866
+ break;
8861
8867
  case 21:
8862
8868
  break;
8863
8869
  default:
@@ -8869,33 +8875,34 @@ function commitReconciliationEffects(finishedWork) {
8869
8875
  var flags = finishedWork.flags;
8870
8876
  if (flags & 2) {
8871
8877
  try {
8872
- a: {
8873
- for (var parent = finishedWork.return; null !== parent; ) {
8874
- if (isHostParent(parent)) {
8875
- var JSCompiler_inline_result = parent;
8876
- break a;
8877
- }
8878
- parent = parent.return;
8878
+ for (
8879
+ var hostParentFiber, parentFiber = finishedWork.return;
8880
+ null !== parentFiber;
8881
+
8882
+ ) {
8883
+ if (isHostParent(parentFiber)) {
8884
+ hostParentFiber = parentFiber;
8885
+ break;
8879
8886
  }
8880
- throw Error(formatProdErrorMessage(160));
8887
+ parentFiber = parentFiber.return;
8881
8888
  }
8882
- switch (JSCompiler_inline_result.tag) {
8889
+ if (null == hostParentFiber) throw Error(formatProdErrorMessage(160));
8890
+ switch (hostParentFiber.tag) {
8883
8891
  case 27:
8884
- var parent$jscomp$0 = JSCompiler_inline_result.stateNode,
8892
+ var parent = hostParentFiber.stateNode,
8885
8893
  before = getHostSibling(finishedWork);
8886
- insertOrAppendPlacementNode(finishedWork, before, parent$jscomp$0);
8894
+ insertOrAppendPlacementNode(finishedWork, before, parent);
8887
8895
  break;
8888
8896
  case 5:
8889
- var parent$119 = JSCompiler_inline_result.stateNode;
8890
- JSCompiler_inline_result.flags & 32 &&
8891
- (setTextContent(parent$119, ""),
8892
- (JSCompiler_inline_result.flags &= -33));
8897
+ var parent$119 = hostParentFiber.stateNode;
8898
+ hostParentFiber.flags & 32 &&
8899
+ (setTextContent(parent$119, ""), (hostParentFiber.flags &= -33));
8893
8900
  var before$120 = getHostSibling(finishedWork);
8894
8901
  insertOrAppendPlacementNode(finishedWork, before$120, parent$119);
8895
8902
  break;
8896
8903
  case 3:
8897
8904
  case 4:
8898
- var parent$121 = JSCompiler_inline_result.stateNode.containerInfo,
8905
+ var parent$121 = hostParentFiber.stateNode.containerInfo,
8899
8906
  before$122 = getHostSibling(finishedWork);
8900
8907
  insertOrAppendPlacementNodeIntoContainer(
8901
8908
  finishedWork,
@@ -8962,6 +8969,9 @@ function recursivelyTraverseDisappearLayoutEffects(parentFiber) {
8962
8969
  null === finishedWork.memoizedState &&
8963
8970
  recursivelyTraverseDisappearLayoutEffects(finishedWork);
8964
8971
  break;
8972
+ case 30:
8973
+ recursivelyTraverseDisappearLayoutEffects(finishedWork);
8974
+ break;
8965
8975
  default:
8966
8976
  recursivelyTraverseDisappearLayoutEffects(finishedWork);
8967
8977
  }
@@ -9083,6 +9093,8 @@ function recursivelyTraverseReappearLayoutEffects(
9083
9093
  );
9084
9094
  safelyAttachRef(finishedWork, finishedWork.return);
9085
9095
  break;
9096
+ case 30:
9097
+ break;
9086
9098
  default:
9087
9099
  recursivelyTraverseReappearLayoutEffects(
9088
9100
  finishedRoot,
@@ -15972,14 +15984,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
15972
15984
  };
15973
15985
  var isomorphicReactPackageVersion$jscomp$inline_1885 = React.version;
15974
15986
  if (
15975
- "19.1.0-canary-d331ba04-20250307" !==
15987
+ "19.1.0-canary-6aa8254b-20250312" !==
15976
15988
  isomorphicReactPackageVersion$jscomp$inline_1885
15977
15989
  )
15978
15990
  throw Error(
15979
15991
  formatProdErrorMessage(
15980
15992
  527,
15981
15993
  isomorphicReactPackageVersion$jscomp$inline_1885,
15982
- "19.1.0-canary-d331ba04-20250307"
15994
+ "19.1.0-canary-6aa8254b-20250312"
15983
15995
  )
15984
15996
  );
15985
15997
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16001,10 +16013,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
16001
16013
  };
16002
16014
  var internals$jscomp$inline_1892 = {
16003
16015
  bundleType: 0,
16004
- version: "19.1.0-canary-d331ba04-20250307",
16016
+ version: "19.1.0-canary-6aa8254b-20250312",
16005
16017
  rendererPackageName: "react-dom",
16006
16018
  currentDispatcherRef: ReactSharedInternals,
16007
- reconcilerVersion: "19.1.0-canary-d331ba04-20250307",
16019
+ reconcilerVersion: "19.1.0-canary-6aa8254b-20250312",
16008
16020
  getLaneLabelMap: function () {
16009
16021
  for (
16010
16022
  var map = new Map(), lane = 1, index$281 = 0;
@@ -16022,16 +16034,16 @@ var internals$jscomp$inline_1892 = {
16022
16034
  }
16023
16035
  };
16024
16036
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
16025
- var hook$jscomp$inline_2347 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
16037
+ var hook$jscomp$inline_2348 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
16026
16038
  if (
16027
- !hook$jscomp$inline_2347.isDisabled &&
16028
- hook$jscomp$inline_2347.supportsFiber
16039
+ !hook$jscomp$inline_2348.isDisabled &&
16040
+ hook$jscomp$inline_2348.supportsFiber
16029
16041
  )
16030
16042
  try {
16031
- (rendererID = hook$jscomp$inline_2347.inject(
16043
+ (rendererID = hook$jscomp$inline_2348.inject(
16032
16044
  internals$jscomp$inline_1892
16033
16045
  )),
16034
- (injectedHook = hook$jscomp$inline_2347);
16046
+ (injectedHook = hook$jscomp$inline_2348);
16035
16047
  } catch (err) {}
16036
16048
  }
16037
16049
  function noop() {}
@@ -16284,7 +16296,7 @@ exports.useFormState = function (action, initialState, permalink) {
16284
16296
  exports.useFormStatus = function () {
16285
16297
  return ReactSharedInternals.H.useHostTransitionStatus();
16286
16298
  };
16287
- exports.version = "19.1.0-canary-d331ba04-20250307";
16299
+ exports.version = "19.1.0-canary-6aa8254b-20250312";
16288
16300
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
16289
16301
  "function" ===
16290
16302
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -9010,5 +9010,5 @@
9010
9010
  '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'
9011
9011
  );
9012
9012
  };
9013
- exports.version = "19.1.0-canary-d331ba04-20250307";
9013
+ exports.version = "19.1.0-canary-6aa8254b-20250312";
9014
9014
  })();
@@ -5887,4 +5887,4 @@ exports.renderToString = function (children, options) {
5887
5887
  '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'
5888
5888
  );
5889
5889
  };
5890
- exports.version = "19.1.0-canary-d331ba04-20250307";
5890
+ exports.version = "19.1.0-canary-6aa8254b-20250312";
@@ -9010,5 +9010,5 @@
9010
9010
  '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'
9011
9011
  );
9012
9012
  };
9013
- exports.version = "19.1.0-canary-d331ba04-20250307";
9013
+ exports.version = "19.1.0-canary-6aa8254b-20250312";
9014
9014
  })();
@@ -5967,4 +5967,4 @@ exports.renderToString = function (children, options) {
5967
5967
  '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'
5968
5968
  );
5969
5969
  };
5970
- exports.version = "19.1.0-canary-d331ba04-20250307";
5970
+ exports.version = "19.1.0-canary-6aa8254b-20250312";
@@ -7740,11 +7740,11 @@
7740
7740
  }
7741
7741
  function ensureCorrectIsomorphicReactVersion() {
7742
7742
  var isomorphicReactPackageVersion = React.version;
7743
- if ("19.1.0-canary-d331ba04-20250307" !== isomorphicReactPackageVersion)
7743
+ if ("19.1.0-canary-6aa8254b-20250312" !== isomorphicReactPackageVersion)
7744
7744
  throw Error(
7745
7745
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7746
7746
  (isomorphicReactPackageVersion +
7747
- "\n - react-dom: 19.1.0-canary-d331ba04-20250307\nLearn more: https://react.dev/warnings/version-mismatch")
7747
+ "\n - react-dom: 19.1.0-canary-6aa8254b-20250312\nLearn more: https://react.dev/warnings/version-mismatch")
7748
7748
  );
7749
7749
  }
7750
7750
  var React = require("react"),
@@ -9399,5 +9399,5 @@
9399
9399
  startWork(request);
9400
9400
  });
9401
9401
  };
9402
- exports.version = "19.1.0-canary-d331ba04-20250307";
9402
+ exports.version = "19.1.0-canary-6aa8254b-20250312";
9403
9403
  })();
@@ -6227,12 +6227,12 @@ function abort(request, reason) {
6227
6227
  }
6228
6228
  function ensureCorrectIsomorphicReactVersion() {
6229
6229
  var isomorphicReactPackageVersion = React.version;
6230
- if ("19.1.0-canary-d331ba04-20250307" !== isomorphicReactPackageVersion)
6230
+ if ("19.1.0-canary-6aa8254b-20250312" !== isomorphicReactPackageVersion)
6231
6231
  throw Error(
6232
6232
  formatProdErrorMessage(
6233
6233
  527,
6234
6234
  isomorphicReactPackageVersion,
6235
- "19.1.0-canary-d331ba04-20250307"
6235
+ "19.1.0-canary-6aa8254b-20250312"
6236
6236
  )
6237
6237
  );
6238
6238
  }
@@ -6379,4 +6379,4 @@ exports.renderToReadableStream = function (children, options) {
6379
6379
  startWork(request);
6380
6380
  });
6381
6381
  };
6382
- exports.version = "19.1.0-canary-d331ba04-20250307";
6382
+ exports.version = "19.1.0-canary-6aa8254b-20250312";
@@ -8618,13 +8618,13 @@ function abort(request, reason) {
8618
8618
  }
8619
8619
  var isomorphicReactPackageVersion$jscomp$inline_740 = React.version;
8620
8620
  if (
8621
- "19.1.0-canary-d331ba04-20250307" !==
8621
+ "19.1.0-canary-6aa8254b-20250312" !==
8622
8622
  isomorphicReactPackageVersion$jscomp$inline_740
8623
8623
  )
8624
8624
  throw Error(
8625
8625
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
8626
8626
  (isomorphicReactPackageVersion$jscomp$inline_740 +
8627
- "\n - react-dom: 19.1.0-canary-d331ba04-20250307\nLearn more: https://react.dev/warnings/version-mismatch")
8627
+ "\n - react-dom: 19.1.0-canary-6aa8254b-20250312\nLearn more: https://react.dev/warnings/version-mismatch")
8628
8628
  );
8629
8629
  exports.renderToReadableStream = function (children, options) {
8630
8630
  return new Promise(function (resolve, reject) {
@@ -8717,4 +8717,4 @@ exports.renderToReadableStream = function (children, options) {
8717
8717
  startWork(request$jscomp$0);
8718
8718
  });
8719
8719
  };
8720
- exports.version = "19.1.0-canary-d331ba04-20250307";
8720
+ exports.version = "19.1.0-canary-6aa8254b-20250312";
@@ -5865,13 +5865,13 @@ function abort(request, reason) {
5865
5865
  }
5866
5866
  var isomorphicReactPackageVersion$jscomp$inline_761 = React.version;
5867
5867
  if (
5868
- "19.1.0-canary-d331ba04-20250307" !==
5868
+ "19.1.0-canary-6aa8254b-20250312" !==
5869
5869
  isomorphicReactPackageVersion$jscomp$inline_761
5870
5870
  )
5871
5871
  throw Error(
5872
5872
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
5873
5873
  (isomorphicReactPackageVersion$jscomp$inline_761 +
5874
- "\n - react-dom: 19.1.0-canary-d331ba04-20250307\nLearn more: https://react.dev/warnings/version-mismatch")
5874
+ "\n - react-dom: 19.1.0-canary-6aa8254b-20250312\nLearn more: https://react.dev/warnings/version-mismatch")
5875
5875
  );
5876
5876
  exports.renderToReadableStream = function (children, options) {
5877
5877
  return new Promise(function (resolve, reject) {
@@ -5962,4 +5962,4 @@ exports.renderToReadableStream = function (children, options) {
5962
5962
  startWork(request);
5963
5963
  });
5964
5964
  };
5965
- exports.version = "19.1.0-canary-d331ba04-20250307";
5965
+ exports.version = "19.1.0-canary-6aa8254b-20250312";
@@ -7763,11 +7763,11 @@
7763
7763
  }
7764
7764
  function ensureCorrectIsomorphicReactVersion() {
7765
7765
  var isomorphicReactPackageVersion = React.version;
7766
- if ("19.1.0-canary-d331ba04-20250307" !== isomorphicReactPackageVersion)
7766
+ if ("19.1.0-canary-6aa8254b-20250312" !== isomorphicReactPackageVersion)
7767
7767
  throw Error(
7768
7768
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7769
7769
  (isomorphicReactPackageVersion +
7770
- "\n - react-dom: 19.1.0-canary-d331ba04-20250307\nLearn more: https://react.dev/warnings/version-mismatch")
7770
+ "\n - react-dom: 19.1.0-canary-6aa8254b-20250312\nLearn more: https://react.dev/warnings/version-mismatch")
7771
7771
  );
7772
7772
  }
7773
7773
  var React = require("react"),
@@ -9418,5 +9418,5 @@
9418
9418
  startWork(request);
9419
9419
  });
9420
9420
  };
9421
- exports.version = "19.1.0-canary-d331ba04-20250307";
9421
+ exports.version = "19.1.0-canary-6aa8254b-20250312";
9422
9422
  })();
@@ -6322,11 +6322,11 @@ function abort(request, reason) {
6322
6322
  }
6323
6323
  function ensureCorrectIsomorphicReactVersion() {
6324
6324
  var isomorphicReactPackageVersion = React.version;
6325
- if ("19.1.0-canary-d331ba04-20250307" !== isomorphicReactPackageVersion)
6325
+ if ("19.1.0-canary-6aa8254b-20250312" !== isomorphicReactPackageVersion)
6326
6326
  throw Error(
6327
6327
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
6328
6328
  (isomorphicReactPackageVersion +
6329
- "\n - react-dom: 19.1.0-canary-d331ba04-20250307\nLearn more: https://react.dev/warnings/version-mismatch")
6329
+ "\n - react-dom: 19.1.0-canary-6aa8254b-20250312\nLearn more: https://react.dev/warnings/version-mismatch")
6330
6330
  );
6331
6331
  }
6332
6332
  ensureCorrectIsomorphicReactVersion();
@@ -6472,4 +6472,4 @@ exports.renderToReadableStream = function (children, options) {
6472
6472
  startWork(request);
6473
6473
  });
6474
6474
  };
6475
- exports.version = "19.1.0-canary-d331ba04-20250307";
6475
+ exports.version = "19.1.0-canary-6aa8254b-20250312";
@@ -7638,11 +7638,11 @@
7638
7638
  }
7639
7639
  function ensureCorrectIsomorphicReactVersion() {
7640
7640
  var isomorphicReactPackageVersion = React.version;
7641
- if ("19.1.0-canary-d331ba04-20250307" !== isomorphicReactPackageVersion)
7641
+ if ("19.1.0-canary-6aa8254b-20250312" !== isomorphicReactPackageVersion)
7642
7642
  throw Error(
7643
7643
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7644
7644
  (isomorphicReactPackageVersion +
7645
- "\n - react-dom: 19.1.0-canary-d331ba04-20250307\nLearn more: https://react.dev/warnings/version-mismatch")
7645
+ "\n - react-dom: 19.1.0-canary-6aa8254b-20250312\nLearn more: https://react.dev/warnings/version-mismatch")
7646
7646
  );
7647
7647
  }
7648
7648
  function createDrainHandler(destination, request) {
@@ -9292,5 +9292,5 @@
9292
9292
  }
9293
9293
  };
9294
9294
  };
9295
- exports.version = "19.1.0-canary-d331ba04-20250307";
9295
+ exports.version = "19.1.0-canary-6aa8254b-20250312";
9296
9296
  })();
@@ -6214,11 +6214,11 @@ function abort(request, reason) {
6214
6214
  }
6215
6215
  function ensureCorrectIsomorphicReactVersion() {
6216
6216
  var isomorphicReactPackageVersion = React.version;
6217
- if ("19.1.0-canary-d331ba04-20250307" !== isomorphicReactPackageVersion)
6217
+ if ("19.1.0-canary-6aa8254b-20250312" !== isomorphicReactPackageVersion)
6218
6218
  throw Error(
6219
6219
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
6220
6220
  (isomorphicReactPackageVersion +
6221
- "\n - react-dom: 19.1.0-canary-d331ba04-20250307\nLearn more: https://react.dev/warnings/version-mismatch")
6221
+ "\n - react-dom: 19.1.0-canary-6aa8254b-20250312\nLearn more: https://react.dev/warnings/version-mismatch")
6222
6222
  );
6223
6223
  }
6224
6224
  ensureCorrectIsomorphicReactVersion();
@@ -6367,4 +6367,4 @@ exports.renderToPipeableStream = function (children, options) {
6367
6367
  }
6368
6368
  };
6369
6369
  };
6370
- exports.version = "19.1.0-canary-d331ba04-20250307";
6370
+ exports.version = "19.1.0-canary-6aa8254b-20250312";
@@ -416,7 +416,7 @@
416
416
  exports.useFormStatus = function () {
417
417
  return resolveDispatcher().useHostTransitionStatus();
418
418
  };
419
- exports.version = "19.1.0-canary-d331ba04-20250307";
419
+ exports.version = "19.1.0-canary-6aa8254b-20250312";
420
420
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
421
421
  "function" ===
422
422
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) {
207
207
  exports.useFormStatus = function () {
208
208
  return ReactSharedInternals.H.useHostTransitionStatus();
209
209
  };
210
- exports.version = "19.1.0-canary-d331ba04-20250307";
210
+ exports.version = "19.1.0-canary-6aa8254b-20250312";
@@ -336,5 +336,5 @@
336
336
  }))
337
337
  : Internals.d.m(href));
338
338
  };
339
- exports.version = "19.1.0-canary-d331ba04-20250307";
339
+ exports.version = "19.1.0-canary-6aa8254b-20250312";
340
340
  })();
@@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) {
149
149
  });
150
150
  } else Internals.d.m(href);
151
151
  };
152
- exports.version = "19.1.0-canary-d331ba04-20250307";
152
+ exports.version = "19.1.0-canary-6aa8254b-20250312";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-dom",
3
- "version": "19.1.0-canary-d331ba04-20250307",
3
+ "version": "19.1.0-canary-6aa8254b-20250312",
4
4
  "description": "React package for working with the DOM.",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -17,10 +17,10 @@
17
17
  },
18
18
  "homepage": "https://react.dev/",
19
19
  "dependencies": {
20
- "scheduler": "0.26.0-canary-d331ba04-20250307"
20
+ "scheduler": "0.26.0-canary-6aa8254b-20250312"
21
21
  },
22
22
  "peerDependencies": {
23
- "react": "19.1.0-canary-d331ba04-20250307"
23
+ "react": "19.1.0-canary-6aa8254b-20250312"
24
24
  },
25
25
  "files": [
26
26
  "LICENSE",