react-dom 19.2.0-canary-38ef6550-20250508 → 19.2.0-canary-21fdf308-20250508

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.
@@ -1415,6 +1415,7 @@ function sanitizeURL(url) {
1415
1415
  ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')"
1416
1416
  : url;
1417
1417
  }
1418
+ function noop$1() {}
1418
1419
  var currentReplayingEvent = null;
1419
1420
  function getEventTarget(nativeEvent) {
1420
1421
  nativeEvent = nativeEvent.target || nativeEvent.srcElement || window;
@@ -3169,12 +3170,11 @@ function isThenableResolved(thenable) {
3169
3170
  thenable = thenable.status;
3170
3171
  return "fulfilled" === thenable || "rejected" === thenable;
3171
3172
  }
3172
- function noop$3() {}
3173
3173
  function trackUsedThenable(thenableState, thenable, index) {
3174
3174
  index = thenableState[index];
3175
3175
  void 0 === index
3176
3176
  ? thenableState.push(thenable)
3177
- : index !== thenable && (thenable.then(noop$3, noop$3), (thenable = index));
3177
+ : index !== thenable && (thenable.then(noop$1, noop$1), (thenable = index));
3178
3178
  switch (thenable.status) {
3179
3179
  case "fulfilled":
3180
3180
  return thenable.value;
@@ -3185,7 +3185,7 @@ function trackUsedThenable(thenableState, thenable, index) {
3185
3185
  thenableState)
3186
3186
  );
3187
3187
  default:
3188
- if ("string" === typeof thenable.status) thenable.then(noop$3, noop$3);
3188
+ if ("string" === typeof thenable.status) thenable.then(noop$1, noop$1);
3189
3189
  else {
3190
3190
  thenableState = workInProgressRoot;
3191
3191
  if (null !== thenableState && 100 < thenableState.shellSuspendCounter)
@@ -5189,7 +5189,7 @@ function startTransition(fiber, queue, pendingState, finishedState, callback) {
5189
5189
  (ReactSharedInternals.T = prevTransition);
5190
5190
  }
5191
5191
  }
5192
- function noop$2() {}
5192
+ function noop() {}
5193
5193
  function startHostTransition(formFiber, pendingState, action, formData) {
5194
5194
  if (5 !== formFiber.tag) throw Error(formatProdErrorMessage(476));
5195
5195
  var queue = ensureFormComponentIsStateful(formFiber).queue;
@@ -5199,7 +5199,7 @@ function startHostTransition(formFiber, pendingState, action, formData) {
5199
5199
  pendingState,
5200
5200
  sharedNotPendingObject,
5201
5201
  null === action
5202
- ? noop$2
5202
+ ? noop
5203
5203
  : function () {
5204
5204
  requestFormReset$1(formFiber);
5205
5205
  return action(formData);
@@ -10750,7 +10750,7 @@ function commitRootWhenReady(
10750
10750
  16785408 === (suspendedCommitReason & 16785408)
10751
10751
  )
10752
10752
  if (
10753
- ((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }),
10753
+ ((suspendedState = { stylesheets: null, count: 0, unsuspend: noop$1 }),
10754
10754
  accumulateSuspenseyCommitOnFiber(finishedWork),
10755
10755
  (suspendedCommitReason = waitForCommitToBeReady()),
10756
10756
  null !== suspendedCommitReason)
@@ -12805,7 +12805,6 @@ function checkForUnmatchedText(serverText, clientText) {
12805
12805
  clientText = normalizeMarkupForTextOrAttribute(clientText);
12806
12806
  return normalizeMarkupForTextOrAttribute(serverText) === clientText ? !0 : !1;
12807
12807
  }
12808
- function noop$1() {}
12809
12808
  function setProp(domElement, tag, key, value, props, prevValue) {
12810
12809
  switch (key) {
12811
12810
  case "children":
@@ -14746,7 +14745,6 @@ function preloadResource(resource) {
14746
14745
  : !0;
14747
14746
  }
14748
14747
  var suspendedState = null;
14749
- function noop() {}
14750
14748
  function suspendResource(hoistableRoot, resource, props) {
14751
14749
  if (null === suspendedState) throw Error(formatProdErrorMessage(475));
14752
14750
  var state = suspendedState;
@@ -14899,6 +14897,7 @@ function FiberRootNode(
14899
14897
  onUncaughtError,
14900
14898
  onCaughtError,
14901
14899
  onRecoverableError,
14900
+ onDefaultTransitionIndicator,
14902
14901
  formState
14903
14902
  ) {
14904
14903
  this.tag = 1;
@@ -14941,11 +14940,11 @@ function createFiberRoot(
14941
14940
  hydrationCallbacks,
14942
14941
  isStrictMode,
14943
14942
  identifierPrefix,
14943
+ formState,
14944
14944
  onUncaughtError,
14945
14945
  onCaughtError,
14946
14946
  onRecoverableError,
14947
- transitionCallbacks,
14948
- formState
14947
+ onDefaultTransitionIndicator
14949
14948
  ) {
14950
14949
  containerInfo = new FiberRootNode(
14951
14950
  containerInfo,
@@ -14955,6 +14954,7 @@ function createFiberRoot(
14955
14954
  onUncaughtError,
14956
14955
  onCaughtError,
14957
14956
  onRecoverableError,
14957
+ onDefaultTransitionIndicator,
14958
14958
  formState
14959
14959
  );
14960
14960
  tag = 1;
@@ -15596,6 +15596,9 @@ function retryIfBlockedOn(unblocked) {
15596
15596
  }
15597
15597
  }
15598
15598
  }
15599
+ function defaultOnDefaultTransitionIndicator() {
15600
+ return function () {};
15601
+ }
15599
15602
  function ReactDOMRoot(internalRoot) {
15600
15603
  this._internalRoot = internalRoot;
15601
15604
  }
@@ -15636,16 +15639,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
15636
15639
  0 === i && attemptExplicitHydrationTarget(target);
15637
15640
  }
15638
15641
  };
15639
- var isomorphicReactPackageVersion$jscomp$inline_1847 = React.version;
15642
+ var isomorphicReactPackageVersion$jscomp$inline_1849 = React.version;
15640
15643
  if (
15641
- "19.2.0-canary-38ef6550-20250508" !==
15642
- isomorphicReactPackageVersion$jscomp$inline_1847
15644
+ "19.2.0-canary-21fdf308-20250508" !==
15645
+ isomorphicReactPackageVersion$jscomp$inline_1849
15643
15646
  )
15644
15647
  throw Error(
15645
15648
  formatProdErrorMessage(
15646
15649
  527,
15647
- isomorphicReactPackageVersion$jscomp$inline_1847,
15648
- "19.2.0-canary-38ef6550-20250508"
15650
+ isomorphicReactPackageVersion$jscomp$inline_1849,
15651
+ "19.2.0-canary-21fdf308-20250508"
15649
15652
  )
15650
15653
  );
15651
15654
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15665,24 +15668,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
15665
15668
  null === componentOrElement ? null : componentOrElement.stateNode;
15666
15669
  return componentOrElement;
15667
15670
  };
15668
- var internals$jscomp$inline_2340 = {
15671
+ var internals$jscomp$inline_2342 = {
15669
15672
  bundleType: 0,
15670
- version: "19.2.0-canary-38ef6550-20250508",
15673
+ version: "19.2.0-canary-21fdf308-20250508",
15671
15674
  rendererPackageName: "react-dom",
15672
15675
  currentDispatcherRef: ReactSharedInternals,
15673
- reconcilerVersion: "19.2.0-canary-38ef6550-20250508"
15676
+ reconcilerVersion: "19.2.0-canary-21fdf308-20250508"
15674
15677
  };
15675
15678
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
15676
- var hook$jscomp$inline_2341 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15679
+ var hook$jscomp$inline_2343 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15677
15680
  if (
15678
- !hook$jscomp$inline_2341.isDisabled &&
15679
- hook$jscomp$inline_2341.supportsFiber
15681
+ !hook$jscomp$inline_2343.isDisabled &&
15682
+ hook$jscomp$inline_2343.supportsFiber
15680
15683
  )
15681
15684
  try {
15682
- (rendererID = hook$jscomp$inline_2341.inject(
15683
- internals$jscomp$inline_2340
15685
+ (rendererID = hook$jscomp$inline_2343.inject(
15686
+ internals$jscomp$inline_2342
15684
15687
  )),
15685
- (injectedHook = hook$jscomp$inline_2341);
15688
+ (injectedHook = hook$jscomp$inline_2343);
15686
15689
  } catch (err) {}
15687
15690
  }
15688
15691
  exports.createRoot = function (container, options) {
@@ -15691,8 +15694,7 @@ exports.createRoot = function (container, options) {
15691
15694
  identifierPrefix = "",
15692
15695
  onUncaughtError = defaultOnUncaughtError,
15693
15696
  onCaughtError = defaultOnCaughtError,
15694
- onRecoverableError = defaultOnRecoverableError,
15695
- transitionCallbacks = null;
15697
+ onRecoverableError = defaultOnRecoverableError;
15696
15698
  null !== options &&
15697
15699
  void 0 !== options &&
15698
15700
  (!0 === options.unstable_strictMode && (isStrictMode = !0),
@@ -15702,9 +15704,7 @@ exports.createRoot = function (container, options) {
15702
15704
  (onUncaughtError = options.onUncaughtError),
15703
15705
  void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),
15704
15706
  void 0 !== options.onRecoverableError &&
15705
- (onRecoverableError = options.onRecoverableError),
15706
- void 0 !== options.unstable_transitionCallbacks &&
15707
- (transitionCallbacks = options.unstable_transitionCallbacks));
15707
+ (onRecoverableError = options.onRecoverableError));
15708
15708
  options = createFiberRoot(
15709
15709
  container,
15710
15710
  1,
@@ -15713,11 +15713,11 @@ exports.createRoot = function (container, options) {
15713
15713
  null,
15714
15714
  isStrictMode,
15715
15715
  identifierPrefix,
15716
+ null,
15716
15717
  onUncaughtError,
15717
15718
  onCaughtError,
15718
15719
  onRecoverableError,
15719
- transitionCallbacks,
15720
- null
15720
+ defaultOnDefaultTransitionIndicator
15721
15721
  );
15722
15722
  container[internalContainerInstanceKey] = options.current;
15723
15723
  listenToAllSupportedEvents(container);
@@ -15730,7 +15730,6 @@ exports.hydrateRoot = function (container, initialChildren, options) {
15730
15730
  onUncaughtError = defaultOnUncaughtError,
15731
15731
  onCaughtError = defaultOnCaughtError,
15732
15732
  onRecoverableError = defaultOnRecoverableError,
15733
- transitionCallbacks = null,
15734
15733
  formState = null;
15735
15734
  null !== options &&
15736
15735
  void 0 !== options &&
@@ -15742,8 +15741,6 @@ exports.hydrateRoot = function (container, initialChildren, options) {
15742
15741
  void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),
15743
15742
  void 0 !== options.onRecoverableError &&
15744
15743
  (onRecoverableError = options.onRecoverableError),
15745
- void 0 !== options.unstable_transitionCallbacks &&
15746
- (transitionCallbacks = options.unstable_transitionCallbacks),
15747
15744
  void 0 !== options.formState && (formState = options.formState));
15748
15745
  initialChildren = createFiberRoot(
15749
15746
  container,
@@ -15753,11 +15750,11 @@ exports.hydrateRoot = function (container, initialChildren, options) {
15753
15750
  null != options ? options : null,
15754
15751
  isStrictMode,
15755
15752
  identifierPrefix,
15753
+ formState,
15756
15754
  onUncaughtError,
15757
15755
  onCaughtError,
15758
15756
  onRecoverableError,
15759
- transitionCallbacks,
15760
- formState
15757
+ defaultOnDefaultTransitionIndicator
15761
15758
  );
15762
15759
  initialChildren.context = getContextForSubtree(null);
15763
15760
  options = initialChildren.current;
@@ -15774,4 +15771,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
15774
15771
  listenToAllSupportedEvents(container);
15775
15772
  return new ReactDOMHydrationRoot(initialChildren);
15776
15773
  };
15777
- exports.version = "19.2.0-canary-38ef6550-20250508";
15774
+ exports.version = "19.2.0-canary-21fdf308-20250508";