react-dom 19.2.0-canary-3fbfb9ba-20250409 → 19.2.0-canary-c44e4a25-20250409

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.
@@ -6324,9 +6324,13 @@ function updateSimpleMemoComponent(
6324
6324
  renderLanes
6325
6325
  );
6326
6326
  }
6327
- function updateOffscreenComponent(current, workInProgress, renderLanes) {
6328
- var nextProps = workInProgress.pendingProps,
6329
- nextChildren = nextProps.children,
6327
+ function updateOffscreenComponent(
6328
+ current,
6329
+ workInProgress,
6330
+ renderLanes,
6331
+ nextProps
6332
+ ) {
6333
+ var nextChildren = nextProps.children,
6330
6334
  prevState = null !== current ? current.memoizedState : null;
6331
6335
  if ("hidden" === nextProps.mode) {
6332
6336
  if (0 !== (workInProgress.flags & 128)) {
@@ -7347,10 +7351,14 @@ function attemptEarlyBailoutIfNoScheduledUpdate(
7347
7351
  if (stateNode) break;
7348
7352
  else return null;
7349
7353
  case 22:
7350
- case 23:
7351
7354
  return (
7352
7355
  (workInProgress.lanes = 0),
7353
- updateOffscreenComponent(current, workInProgress, renderLanes)
7356
+ updateOffscreenComponent(
7357
+ current,
7358
+ workInProgress,
7359
+ renderLanes,
7360
+ workInProgress.pendingProps
7361
+ )
7354
7362
  );
7355
7363
  case 24:
7356
7364
  pushProvider(workInProgress, CacheContext, current.memoizedState.cache);
@@ -7820,7 +7828,12 @@ function beginWork(current, workInProgress, renderLanes) {
7820
7828
  workInProgress
7821
7829
  );
7822
7830
  case 22:
7823
- return updateOffscreenComponent(current, workInProgress, renderLanes);
7831
+ return updateOffscreenComponent(
7832
+ current,
7833
+ workInProgress,
7834
+ renderLanes,
7835
+ workInProgress.pendingProps
7836
+ );
7824
7837
  case 24:
7825
7838
  return (
7826
7839
  prepareToReadContext(workInProgress),
@@ -8882,12 +8895,7 @@ function commitProfilerUpdate(
8882
8895
  commitStartTime
8883
8896
  );
8884
8897
  "function" === typeof onCommit &&
8885
- onCommit(
8886
- finishedWork.memoizedProps.id,
8887
- current,
8888
- effectDuration,
8889
- commitStartTime
8890
- );
8898
+ onCommit(id, current, effectDuration, commitStartTime);
8891
8899
  } catch (error) {
8892
8900
  captureCommitPhaseError(finishedWork, finishedWork.return, error);
8893
8901
  }
@@ -12495,20 +12503,20 @@ function extractEvents$1(
12495
12503
  }
12496
12504
  }
12497
12505
  for (
12498
- var i$jscomp$inline_1622 = 0;
12499
- i$jscomp$inline_1622 < simpleEventPluginEvents.length;
12500
- i$jscomp$inline_1622++
12506
+ var i$jscomp$inline_1623 = 0;
12507
+ i$jscomp$inline_1623 < simpleEventPluginEvents.length;
12508
+ i$jscomp$inline_1623++
12501
12509
  ) {
12502
- var eventName$jscomp$inline_1623 =
12503
- simpleEventPluginEvents[i$jscomp$inline_1622],
12504
- domEventName$jscomp$inline_1624 =
12505
- eventName$jscomp$inline_1623.toLowerCase(),
12506
- capitalizedEvent$jscomp$inline_1625 =
12507
- eventName$jscomp$inline_1623[0].toUpperCase() +
12508
- eventName$jscomp$inline_1623.slice(1);
12510
+ var eventName$jscomp$inline_1624 =
12511
+ simpleEventPluginEvents[i$jscomp$inline_1623],
12512
+ domEventName$jscomp$inline_1625 =
12513
+ eventName$jscomp$inline_1624.toLowerCase(),
12514
+ capitalizedEvent$jscomp$inline_1626 =
12515
+ eventName$jscomp$inline_1624[0].toUpperCase() +
12516
+ eventName$jscomp$inline_1624.slice(1);
12509
12517
  registerSimpleEvent(
12510
- domEventName$jscomp$inline_1624,
12511
- "on" + capitalizedEvent$jscomp$inline_1625
12518
+ domEventName$jscomp$inline_1625,
12519
+ "on" + capitalizedEvent$jscomp$inline_1626
12512
12520
  );
12513
12521
  }
12514
12522
  registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -16023,16 +16031,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
16023
16031
  0 === i && attemptExplicitHydrationTarget(target);
16024
16032
  }
16025
16033
  };
16026
- var isomorphicReactPackageVersion$jscomp$inline_1881 = React.version;
16034
+ var isomorphicReactPackageVersion$jscomp$inline_1882 = React.version;
16027
16035
  if (
16028
- "19.2.0-canary-3fbfb9ba-20250409" !==
16029
- isomorphicReactPackageVersion$jscomp$inline_1881
16036
+ "19.2.0-canary-c44e4a25-20250409" !==
16037
+ isomorphicReactPackageVersion$jscomp$inline_1882
16030
16038
  )
16031
16039
  throw Error(
16032
16040
  formatProdErrorMessage(
16033
16041
  527,
16034
- isomorphicReactPackageVersion$jscomp$inline_1881,
16035
- "19.2.0-canary-3fbfb9ba-20250409"
16042
+ isomorphicReactPackageVersion$jscomp$inline_1882,
16043
+ "19.2.0-canary-c44e4a25-20250409"
16036
16044
  )
16037
16045
  );
16038
16046
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16052,12 +16060,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
16052
16060
  null === componentOrElement ? null : componentOrElement.stateNode;
16053
16061
  return componentOrElement;
16054
16062
  };
16055
- var internals$jscomp$inline_1888 = {
16063
+ var internals$jscomp$inline_1889 = {
16056
16064
  bundleType: 0,
16057
- version: "19.2.0-canary-3fbfb9ba-20250409",
16065
+ version: "19.2.0-canary-c44e4a25-20250409",
16058
16066
  rendererPackageName: "react-dom",
16059
16067
  currentDispatcherRef: ReactSharedInternals,
16060
- reconcilerVersion: "19.2.0-canary-3fbfb9ba-20250409",
16068
+ reconcilerVersion: "19.2.0-canary-c44e4a25-20250409",
16061
16069
  getLaneLabelMap: function () {
16062
16070
  for (
16063
16071
  var map = new Map(), lane = 1, index$284 = 0;
@@ -16075,16 +16083,16 @@ var internals$jscomp$inline_1888 = {
16075
16083
  }
16076
16084
  };
16077
16085
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
16078
- var hook$jscomp$inline_2323 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
16086
+ var hook$jscomp$inline_2324 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
16079
16087
  if (
16080
- !hook$jscomp$inline_2323.isDisabled &&
16081
- hook$jscomp$inline_2323.supportsFiber
16088
+ !hook$jscomp$inline_2324.isDisabled &&
16089
+ hook$jscomp$inline_2324.supportsFiber
16082
16090
  )
16083
16091
  try {
16084
- (rendererID = hook$jscomp$inline_2323.inject(
16085
- internals$jscomp$inline_1888
16092
+ (rendererID = hook$jscomp$inline_2324.inject(
16093
+ internals$jscomp$inline_1889
16086
16094
  )),
16087
- (injectedHook = hook$jscomp$inline_2323);
16095
+ (injectedHook = hook$jscomp$inline_2324);
16088
16096
  } catch (err) {}
16089
16097
  }
16090
16098
  function noop() {}
@@ -16337,7 +16345,7 @@ exports.useFormState = function (action, initialState, permalink) {
16337
16345
  exports.useFormStatus = function () {
16338
16346
  return ReactSharedInternals.H.useHostTransitionStatus();
16339
16347
  };
16340
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
16348
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
16341
16349
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
16342
16350
  "function" ===
16343
16351
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -9059,5 +9059,5 @@
9059
9059
  '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'
9060
9060
  );
9061
9061
  };
9062
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
9062
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
9063
9063
  })();
@@ -5909,4 +5909,4 @@ exports.renderToString = function (children, options) {
5909
5909
  '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'
5910
5910
  );
5911
5911
  };
5912
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
5912
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
@@ -9059,5 +9059,5 @@
9059
9059
  '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'
9060
9060
  );
9061
9061
  };
9062
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
9062
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
9063
9063
  })();
@@ -5989,4 +5989,4 @@ exports.renderToString = function (children, options) {
5989
5989
  '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'
5990
5990
  );
5991
5991
  };
5992
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
5992
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
@@ -7771,11 +7771,11 @@
7771
7771
  }
7772
7772
  function ensureCorrectIsomorphicReactVersion() {
7773
7773
  var isomorphicReactPackageVersion = React.version;
7774
- if ("19.2.0-canary-3fbfb9ba-20250409" !== isomorphicReactPackageVersion)
7774
+ if ("19.2.0-canary-c44e4a25-20250409" !== isomorphicReactPackageVersion)
7775
7775
  throw Error(
7776
7776
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7777
7777
  (isomorphicReactPackageVersion +
7778
- "\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
7778
+ "\n - react-dom: 19.2.0-canary-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
7779
7779
  );
7780
7780
  }
7781
7781
  var React = require("react"),
@@ -9447,5 +9447,5 @@
9447
9447
  startWork(request);
9448
9448
  });
9449
9449
  };
9450
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
9450
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
9451
9451
  })();
@@ -6253,12 +6253,12 @@ function abort(request, reason) {
6253
6253
  }
6254
6254
  function ensureCorrectIsomorphicReactVersion() {
6255
6255
  var isomorphicReactPackageVersion = React.version;
6256
- if ("19.2.0-canary-3fbfb9ba-20250409" !== isomorphicReactPackageVersion)
6256
+ if ("19.2.0-canary-c44e4a25-20250409" !== isomorphicReactPackageVersion)
6257
6257
  throw Error(
6258
6258
  formatProdErrorMessage(
6259
6259
  527,
6260
6260
  isomorphicReactPackageVersion,
6261
- "19.2.0-canary-3fbfb9ba-20250409"
6261
+ "19.2.0-canary-c44e4a25-20250409"
6262
6262
  )
6263
6263
  );
6264
6264
  }
@@ -6405,4 +6405,4 @@ exports.renderToReadableStream = function (children, options) {
6405
6405
  startWork(request);
6406
6406
  });
6407
6407
  };
6408
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
6408
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
@@ -8662,13 +8662,13 @@ function abort(request, reason) {
8662
8662
  }
8663
8663
  var isomorphicReactPackageVersion$jscomp$inline_749 = React.version;
8664
8664
  if (
8665
- "19.2.0-canary-3fbfb9ba-20250409" !==
8665
+ "19.2.0-canary-c44e4a25-20250409" !==
8666
8666
  isomorphicReactPackageVersion$jscomp$inline_749
8667
8667
  )
8668
8668
  throw Error(
8669
8669
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
8670
8670
  (isomorphicReactPackageVersion$jscomp$inline_749 +
8671
- "\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
8671
+ "\n - react-dom: 19.2.0-canary-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
8672
8672
  );
8673
8673
  exports.renderToReadableStream = function (children, options) {
8674
8674
  return new Promise(function (resolve, reject) {
@@ -8761,4 +8761,4 @@ exports.renderToReadableStream = function (children, options) {
8761
8761
  startWork(request$jscomp$0);
8762
8762
  });
8763
8763
  };
8764
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
8764
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
@@ -5884,13 +5884,13 @@ function abort(request, reason) {
5884
5884
  }
5885
5885
  var isomorphicReactPackageVersion$jscomp$inline_769 = React.version;
5886
5886
  if (
5887
- "19.2.0-canary-3fbfb9ba-20250409" !==
5887
+ "19.2.0-canary-c44e4a25-20250409" !==
5888
5888
  isomorphicReactPackageVersion$jscomp$inline_769
5889
5889
  )
5890
5890
  throw Error(
5891
5891
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
5892
5892
  (isomorphicReactPackageVersion$jscomp$inline_769 +
5893
- "\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
5893
+ "\n - react-dom: 19.2.0-canary-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
5894
5894
  );
5895
5895
  exports.renderToReadableStream = function (children, options) {
5896
5896
  return new Promise(function (resolve, reject) {
@@ -5981,4 +5981,4 @@ exports.renderToReadableStream = function (children, options) {
5981
5981
  startWork(request);
5982
5982
  });
5983
5983
  };
5984
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
5984
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
@@ -7794,11 +7794,11 @@
7794
7794
  }
7795
7795
  function ensureCorrectIsomorphicReactVersion() {
7796
7796
  var isomorphicReactPackageVersion = React.version;
7797
- if ("19.2.0-canary-3fbfb9ba-20250409" !== isomorphicReactPackageVersion)
7797
+ if ("19.2.0-canary-c44e4a25-20250409" !== isomorphicReactPackageVersion)
7798
7798
  throw Error(
7799
7799
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7800
7800
  (isomorphicReactPackageVersion +
7801
- "\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
7801
+ "\n - react-dom: 19.2.0-canary-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
7802
7802
  );
7803
7803
  }
7804
7804
  var React = require("react"),
@@ -9466,5 +9466,5 @@
9466
9466
  startWork(request);
9467
9467
  });
9468
9468
  };
9469
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
9469
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
9470
9470
  })();
@@ -6348,11 +6348,11 @@ function abort(request, reason) {
6348
6348
  }
6349
6349
  function ensureCorrectIsomorphicReactVersion() {
6350
6350
  var isomorphicReactPackageVersion = React.version;
6351
- if ("19.2.0-canary-3fbfb9ba-20250409" !== isomorphicReactPackageVersion)
6351
+ if ("19.2.0-canary-c44e4a25-20250409" !== isomorphicReactPackageVersion)
6352
6352
  throw Error(
6353
6353
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
6354
6354
  (isomorphicReactPackageVersion +
6355
- "\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
6355
+ "\n - react-dom: 19.2.0-canary-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
6356
6356
  );
6357
6357
  }
6358
6358
  ensureCorrectIsomorphicReactVersion();
@@ -6498,4 +6498,4 @@ exports.renderToReadableStream = function (children, options) {
6498
6498
  startWork(request);
6499
6499
  });
6500
6500
  };
6501
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
6501
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
@@ -7669,11 +7669,11 @@
7669
7669
  }
7670
7670
  function ensureCorrectIsomorphicReactVersion() {
7671
7671
  var isomorphicReactPackageVersion = React.version;
7672
- if ("19.2.0-canary-3fbfb9ba-20250409" !== isomorphicReactPackageVersion)
7672
+ if ("19.2.0-canary-c44e4a25-20250409" !== isomorphicReactPackageVersion)
7673
7673
  throw Error(
7674
7674
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7675
7675
  (isomorphicReactPackageVersion +
7676
- "\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
7676
+ "\n - react-dom: 19.2.0-canary-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
7677
7677
  );
7678
7678
  }
7679
7679
  function createDrainHandler(destination, request) {
@@ -9340,5 +9340,5 @@
9340
9340
  }
9341
9341
  };
9342
9342
  };
9343
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
9343
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
9344
9344
  })();
@@ -6240,11 +6240,11 @@ function abort(request, reason) {
6240
6240
  }
6241
6241
  function ensureCorrectIsomorphicReactVersion() {
6242
6242
  var isomorphicReactPackageVersion = React.version;
6243
- if ("19.2.0-canary-3fbfb9ba-20250409" !== isomorphicReactPackageVersion)
6243
+ if ("19.2.0-canary-c44e4a25-20250409" !== isomorphicReactPackageVersion)
6244
6244
  throw Error(
6245
6245
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
6246
6246
  (isomorphicReactPackageVersion +
6247
- "\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
6247
+ "\n - react-dom: 19.2.0-canary-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
6248
6248
  );
6249
6249
  }
6250
6250
  ensureCorrectIsomorphicReactVersion();
@@ -6393,4 +6393,4 @@ exports.renderToPipeableStream = function (children, options) {
6393
6393
  }
6394
6394
  };
6395
6395
  };
6396
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
6396
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
@@ -416,7 +416,7 @@
416
416
  exports.useFormStatus = function () {
417
417
  return resolveDispatcher().useHostTransitionStatus();
418
418
  };
419
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
419
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
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.2.0-canary-3fbfb9ba-20250409";
210
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
@@ -336,5 +336,5 @@
336
336
  }))
337
337
  : Internals.d.m(href));
338
338
  };
339
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
339
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
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.2.0-canary-3fbfb9ba-20250409";
152
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-dom",
3
- "version": "19.2.0-canary-3fbfb9ba-20250409",
3
+ "version": "19.2.0-canary-c44e4a25-20250409",
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.27.0-canary-3fbfb9ba-20250409"
20
+ "scheduler": "0.27.0-canary-c44e4a25-20250409"
21
21
  },
22
22
  "peerDependencies": {
23
- "react": "19.2.0-canary-3fbfb9ba-20250409"
23
+ "react": "19.2.0-canary-c44e4a25-20250409"
24
24
  },
25
25
  "files": [
26
26
  "LICENSE",