react-dom 19.2.0-canary-1d6c8168-20250411 → 19.2.0-canary-b04254fd-20250415

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.
@@ -6351,18 +6351,7 @@ function updateOffscreenComponent(
6351
6351
  renderLanes
6352
6352
  );
6353
6353
  }
6354
- if (0 !== (renderLanes & 536870912))
6355
- (workInProgress.memoizedState = { baseLanes: 0, cachePool: null }),
6356
- null !== current &&
6357
- pushTransition(
6358
- workInProgress,
6359
- null !== prevState ? prevState.cachePool : null
6360
- ),
6361
- null !== prevState
6362
- ? pushHiddenContext(workInProgress, prevState)
6363
- : reuseHiddenContextOnStack(),
6364
- pushOffscreenSuspenseHandler(workInProgress);
6365
- else
6354
+ if (0 === (renderLanes & 536870912) || isHydrating)
6366
6355
  return (
6367
6356
  (workInProgress.lanes = workInProgress.childLanes = 536870912),
6368
6357
  deferHiddenOffscreenComponent(
@@ -6372,6 +6361,16 @@ function updateOffscreenComponent(
6372
6361
  renderLanes
6373
6362
  )
6374
6363
  );
6364
+ workInProgress.memoizedState = { baseLanes: 0, cachePool: null };
6365
+ null !== current &&
6366
+ pushTransition(
6367
+ workInProgress,
6368
+ null !== prevState ? prevState.cachePool : null
6369
+ );
6370
+ null !== prevState
6371
+ ? pushHiddenContext(workInProgress, prevState)
6372
+ : reuseHiddenContextOnStack();
6373
+ pushOffscreenSuspenseHandler(workInProgress);
6375
6374
  } else
6376
6375
  null !== prevState
6377
6376
  ? (pushTransition(workInProgress, prevState.cachePool),
@@ -15992,14 +15991,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
15992
15991
  };
15993
15992
  var isomorphicReactPackageVersion$jscomp$inline_1886 = React.version;
15994
15993
  if (
15995
- "19.2.0-canary-1d6c8168-20250411" !==
15994
+ "19.2.0-canary-b04254fd-20250415" !==
15996
15995
  isomorphicReactPackageVersion$jscomp$inline_1886
15997
15996
  )
15998
15997
  throw Error(
15999
15998
  formatProdErrorMessage(
16000
15999
  527,
16001
16000
  isomorphicReactPackageVersion$jscomp$inline_1886,
16002
- "19.2.0-canary-1d6c8168-20250411"
16001
+ "19.2.0-canary-b04254fd-20250415"
16003
16002
  )
16004
16003
  );
16005
16004
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16021,10 +16020,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
16021
16020
  };
16022
16021
  var internals$jscomp$inline_1893 = {
16023
16022
  bundleType: 0,
16024
- version: "19.2.0-canary-1d6c8168-20250411",
16023
+ version: "19.2.0-canary-b04254fd-20250415",
16025
16024
  rendererPackageName: "react-dom",
16026
16025
  currentDispatcherRef: ReactSharedInternals,
16027
- reconcilerVersion: "19.2.0-canary-1d6c8168-20250411",
16026
+ reconcilerVersion: "19.2.0-canary-b04254fd-20250415",
16028
16027
  getLaneLabelMap: function () {
16029
16028
  for (
16030
16029
  var map = new Map(), lane = 1, index$286 = 0;
@@ -16304,7 +16303,7 @@ exports.useFormState = function (action, initialState, permalink) {
16304
16303
  exports.useFormStatus = function () {
16305
16304
  return ReactSharedInternals.H.useHostTransitionStatus();
16306
16305
  };
16307
- exports.version = "19.2.0-canary-1d6c8168-20250411";
16306
+ exports.version = "19.2.0-canary-b04254fd-20250415";
16308
16307
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
16309
16308
  "function" ===
16310
16309
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -9031,5 +9031,5 @@
9031
9031
  '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'
9032
9032
  );
9033
9033
  };
9034
- exports.version = "19.2.0-canary-1d6c8168-20250411";
9034
+ exports.version = "19.2.0-canary-b04254fd-20250415";
9035
9035
  })();
@@ -5886,4 +5886,4 @@ exports.renderToString = function (children, options) {
5886
5886
  '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'
5887
5887
  );
5888
5888
  };
5889
- exports.version = "19.2.0-canary-1d6c8168-20250411";
5889
+ exports.version = "19.2.0-canary-b04254fd-20250415";
@@ -9031,5 +9031,5 @@
9031
9031
  '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'
9032
9032
  );
9033
9033
  };
9034
- exports.version = "19.2.0-canary-1d6c8168-20250411";
9034
+ exports.version = "19.2.0-canary-b04254fd-20250415";
9035
9035
  })();
@@ -5966,4 +5966,4 @@ exports.renderToString = function (children, options) {
5966
5966
  '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'
5967
5967
  );
5968
5968
  };
5969
- exports.version = "19.2.0-canary-1d6c8168-20250411";
5969
+ exports.version = "19.2.0-canary-b04254fd-20250415";
@@ -7744,11 +7744,11 @@
7744
7744
  }
7745
7745
  function ensureCorrectIsomorphicReactVersion() {
7746
7746
  var isomorphicReactPackageVersion = React.version;
7747
- if ("19.2.0-canary-1d6c8168-20250411" !== isomorphicReactPackageVersion)
7747
+ if ("19.2.0-canary-b04254fd-20250415" !== isomorphicReactPackageVersion)
7748
7748
  throw Error(
7749
7749
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7750
7750
  (isomorphicReactPackageVersion +
7751
- "\n - react-dom: 19.2.0-canary-1d6c8168-20250411\nLearn more: https://react.dev/warnings/version-mismatch")
7751
+ "\n - react-dom: 19.2.0-canary-b04254fd-20250415\nLearn more: https://react.dev/warnings/version-mismatch")
7752
7752
  );
7753
7753
  }
7754
7754
  var React = require("react"),
@@ -9422,5 +9422,5 @@
9422
9422
  startWork(request);
9423
9423
  });
9424
9424
  };
9425
- exports.version = "19.2.0-canary-1d6c8168-20250411";
9425
+ exports.version = "19.2.0-canary-b04254fd-20250415";
9426
9426
  })();
@@ -6223,12 +6223,12 @@ function abort(request, reason) {
6223
6223
  }
6224
6224
  function ensureCorrectIsomorphicReactVersion() {
6225
6225
  var isomorphicReactPackageVersion = React.version;
6226
- if ("19.2.0-canary-1d6c8168-20250411" !== isomorphicReactPackageVersion)
6226
+ if ("19.2.0-canary-b04254fd-20250415" !== isomorphicReactPackageVersion)
6227
6227
  throw Error(
6228
6228
  formatProdErrorMessage(
6229
6229
  527,
6230
6230
  isomorphicReactPackageVersion,
6231
- "19.2.0-canary-1d6c8168-20250411"
6231
+ "19.2.0-canary-b04254fd-20250415"
6232
6232
  )
6233
6233
  );
6234
6234
  }
@@ -6375,4 +6375,4 @@ exports.renderToReadableStream = function (children, options) {
6375
6375
  startWork(request);
6376
6376
  });
6377
6377
  };
6378
- exports.version = "19.2.0-canary-1d6c8168-20250411";
6378
+ exports.version = "19.2.0-canary-b04254fd-20250415";
@@ -8626,13 +8626,13 @@ function abort(request, reason) {
8626
8626
  }
8627
8627
  var isomorphicReactPackageVersion$jscomp$inline_742 = React.version;
8628
8628
  if (
8629
- "19.2.0-canary-1d6c8168-20250411" !==
8629
+ "19.2.0-canary-b04254fd-20250415" !==
8630
8630
  isomorphicReactPackageVersion$jscomp$inline_742
8631
8631
  )
8632
8632
  throw Error(
8633
8633
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
8634
8634
  (isomorphicReactPackageVersion$jscomp$inline_742 +
8635
- "\n - react-dom: 19.2.0-canary-1d6c8168-20250411\nLearn more: https://react.dev/warnings/version-mismatch")
8635
+ "\n - react-dom: 19.2.0-canary-b04254fd-20250415\nLearn more: https://react.dev/warnings/version-mismatch")
8636
8636
  );
8637
8637
  exports.renderToReadableStream = function (children, options) {
8638
8638
  return new Promise(function (resolve, reject) {
@@ -8725,4 +8725,4 @@ exports.renderToReadableStream = function (children, options) {
8725
8725
  startWork(request$jscomp$0);
8726
8726
  });
8727
8727
  };
8728
- exports.version = "19.2.0-canary-1d6c8168-20250411";
8728
+ exports.version = "19.2.0-canary-b04254fd-20250415";
@@ -5855,13 +5855,13 @@ function abort(request, reason) {
5855
5855
  }
5856
5856
  var isomorphicReactPackageVersion$jscomp$inline_762 = React.version;
5857
5857
  if (
5858
- "19.2.0-canary-1d6c8168-20250411" !==
5858
+ "19.2.0-canary-b04254fd-20250415" !==
5859
5859
  isomorphicReactPackageVersion$jscomp$inline_762
5860
5860
  )
5861
5861
  throw Error(
5862
5862
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
5863
5863
  (isomorphicReactPackageVersion$jscomp$inline_762 +
5864
- "\n - react-dom: 19.2.0-canary-1d6c8168-20250411\nLearn more: https://react.dev/warnings/version-mismatch")
5864
+ "\n - react-dom: 19.2.0-canary-b04254fd-20250415\nLearn more: https://react.dev/warnings/version-mismatch")
5865
5865
  );
5866
5866
  exports.renderToReadableStream = function (children, options) {
5867
5867
  return new Promise(function (resolve, reject) {
@@ -5952,4 +5952,4 @@ exports.renderToReadableStream = function (children, options) {
5952
5952
  startWork(request);
5953
5953
  });
5954
5954
  };
5955
- exports.version = "19.2.0-canary-1d6c8168-20250411";
5955
+ exports.version = "19.2.0-canary-b04254fd-20250415";
@@ -7767,11 +7767,11 @@
7767
7767
  }
7768
7768
  function ensureCorrectIsomorphicReactVersion() {
7769
7769
  var isomorphicReactPackageVersion = React.version;
7770
- if ("19.2.0-canary-1d6c8168-20250411" !== isomorphicReactPackageVersion)
7770
+ if ("19.2.0-canary-b04254fd-20250415" !== isomorphicReactPackageVersion)
7771
7771
  throw Error(
7772
7772
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7773
7773
  (isomorphicReactPackageVersion +
7774
- "\n - react-dom: 19.2.0-canary-1d6c8168-20250411\nLearn more: https://react.dev/warnings/version-mismatch")
7774
+ "\n - react-dom: 19.2.0-canary-b04254fd-20250415\nLearn more: https://react.dev/warnings/version-mismatch")
7775
7775
  );
7776
7776
  }
7777
7777
  var React = require("react"),
@@ -9441,5 +9441,5 @@
9441
9441
  startWork(request);
9442
9442
  });
9443
9443
  };
9444
- exports.version = "19.2.0-canary-1d6c8168-20250411";
9444
+ exports.version = "19.2.0-canary-b04254fd-20250415";
9445
9445
  })();
@@ -6318,11 +6318,11 @@ function abort(request, reason) {
6318
6318
  }
6319
6319
  function ensureCorrectIsomorphicReactVersion() {
6320
6320
  var isomorphicReactPackageVersion = React.version;
6321
- if ("19.2.0-canary-1d6c8168-20250411" !== isomorphicReactPackageVersion)
6321
+ if ("19.2.0-canary-b04254fd-20250415" !== isomorphicReactPackageVersion)
6322
6322
  throw Error(
6323
6323
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
6324
6324
  (isomorphicReactPackageVersion +
6325
- "\n - react-dom: 19.2.0-canary-1d6c8168-20250411\nLearn more: https://react.dev/warnings/version-mismatch")
6325
+ "\n - react-dom: 19.2.0-canary-b04254fd-20250415\nLearn more: https://react.dev/warnings/version-mismatch")
6326
6326
  );
6327
6327
  }
6328
6328
  ensureCorrectIsomorphicReactVersion();
@@ -6468,4 +6468,4 @@ exports.renderToReadableStream = function (children, options) {
6468
6468
  startWork(request);
6469
6469
  });
6470
6470
  };
6471
- exports.version = "19.2.0-canary-1d6c8168-20250411";
6471
+ exports.version = "19.2.0-canary-b04254fd-20250415";
@@ -7642,11 +7642,11 @@
7642
7642
  }
7643
7643
  function ensureCorrectIsomorphicReactVersion() {
7644
7644
  var isomorphicReactPackageVersion = React.version;
7645
- if ("19.2.0-canary-1d6c8168-20250411" !== isomorphicReactPackageVersion)
7645
+ if ("19.2.0-canary-b04254fd-20250415" !== isomorphicReactPackageVersion)
7646
7646
  throw Error(
7647
7647
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7648
7648
  (isomorphicReactPackageVersion +
7649
- "\n - react-dom: 19.2.0-canary-1d6c8168-20250411\nLearn more: https://react.dev/warnings/version-mismatch")
7649
+ "\n - react-dom: 19.2.0-canary-b04254fd-20250415\nLearn more: https://react.dev/warnings/version-mismatch")
7650
7650
  );
7651
7651
  }
7652
7652
  function createDrainHandler(destination, request) {
@@ -9315,5 +9315,5 @@
9315
9315
  }
9316
9316
  };
9317
9317
  };
9318
- exports.version = "19.2.0-canary-1d6c8168-20250411";
9318
+ exports.version = "19.2.0-canary-b04254fd-20250415";
9319
9319
  })();
@@ -6210,11 +6210,11 @@ function abort(request, reason) {
6210
6210
  }
6211
6211
  function ensureCorrectIsomorphicReactVersion() {
6212
6212
  var isomorphicReactPackageVersion = React.version;
6213
- if ("19.2.0-canary-1d6c8168-20250411" !== isomorphicReactPackageVersion)
6213
+ if ("19.2.0-canary-b04254fd-20250415" !== isomorphicReactPackageVersion)
6214
6214
  throw Error(
6215
6215
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
6216
6216
  (isomorphicReactPackageVersion +
6217
- "\n - react-dom: 19.2.0-canary-1d6c8168-20250411\nLearn more: https://react.dev/warnings/version-mismatch")
6217
+ "\n - react-dom: 19.2.0-canary-b04254fd-20250415\nLearn more: https://react.dev/warnings/version-mismatch")
6218
6218
  );
6219
6219
  }
6220
6220
  ensureCorrectIsomorphicReactVersion();
@@ -6363,4 +6363,4 @@ exports.renderToPipeableStream = function (children, options) {
6363
6363
  }
6364
6364
  };
6365
6365
  };
6366
- exports.version = "19.2.0-canary-1d6c8168-20250411";
6366
+ exports.version = "19.2.0-canary-b04254fd-20250415";
@@ -416,7 +416,7 @@
416
416
  exports.useFormStatus = function () {
417
417
  return resolveDispatcher().useHostTransitionStatus();
418
418
  };
419
- exports.version = "19.2.0-canary-1d6c8168-20250411";
419
+ exports.version = "19.2.0-canary-b04254fd-20250415";
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-1d6c8168-20250411";
210
+ exports.version = "19.2.0-canary-b04254fd-20250415";
@@ -336,5 +336,5 @@
336
336
  }))
337
337
  : Internals.d.m(href));
338
338
  };
339
- exports.version = "19.2.0-canary-1d6c8168-20250411";
339
+ exports.version = "19.2.0-canary-b04254fd-20250415";
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-1d6c8168-20250411";
152
+ exports.version = "19.2.0-canary-b04254fd-20250415";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-dom",
3
- "version": "19.2.0-canary-1d6c8168-20250411",
3
+ "version": "19.2.0-canary-b04254fd-20250415",
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-1d6c8168-20250411"
20
+ "scheduler": "0.27.0-canary-b04254fd-20250415"
21
21
  },
22
22
  "peerDependencies": {
23
- "react": "19.2.0-canary-1d6c8168-20250411"
23
+ "react": "19.2.0-canary-b04254fd-20250415"
24
24
  },
25
25
  "files": [
26
26
  "LICENSE",