react-dom 19.1.0-canary-a4f9bd58-20250319 → 19.1.0-canary-740a4f7a-20250325

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.
@@ -4323,6 +4323,10 @@
4323
4323
  onPostpone,
4324
4324
  formState
4325
4325
  ) {
4326
+ var now = getCurrentTime();
4327
+ 1e3 < now - lastResetTime &&
4328
+ ((ReactSharedInternals.recentlyCreatedOwnerStacks = 0),
4329
+ (lastResetTime = now));
4326
4330
  resumableState = new RequestInstance(
4327
4331
  resumableState,
4328
4332
  renderState,
@@ -8982,7 +8986,22 @@
8982
8986
  },
8983
8987
  callLazyInitInDEV =
8984
8988
  callLazyInit["react-stack-bottom-frame"].bind(callLazyInit),
8985
- CLIENT_RENDERED = 4,
8989
+ lastResetTime = 0;
8990
+ if (
8991
+ "object" === typeof performance &&
8992
+ "function" === typeof performance.now
8993
+ ) {
8994
+ var localPerformance = performance;
8995
+ var getCurrentTime = function () {
8996
+ return localPerformance.now();
8997
+ };
8998
+ } else {
8999
+ var localDate = Date;
9000
+ getCurrentTime = function () {
9001
+ return localDate.now();
9002
+ };
9003
+ }
9004
+ var CLIENT_RENDERED = 4,
8986
9005
  PENDING = 0,
8987
9006
  COMPLETED = 1,
8988
9007
  FLUSHED = 2,
@@ -9012,5 +9031,5 @@
9012
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'
9013
9032
  );
9014
9033
  };
9015
- exports.version = "19.1.0-canary-a4f9bd58-20250319";
9034
+ exports.version = "19.1.0-canary-740a4f7a-20250325";
9016
9035
  })();
@@ -5889,4 +5889,4 @@ exports.renderToString = function (children, options) {
5889
5889
  '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'
5890
5890
  );
5891
5891
  };
5892
- exports.version = "19.1.0-canary-a4f9bd58-20250319";
5892
+ exports.version = "19.1.0-canary-740a4f7a-20250325";
@@ -4323,6 +4323,10 @@
4323
4323
  onPostpone,
4324
4324
  formState
4325
4325
  ) {
4326
+ var now = getCurrentTime();
4327
+ 1e3 < now - lastResetTime &&
4328
+ ((ReactSharedInternals.recentlyCreatedOwnerStacks = 0),
4329
+ (lastResetTime = now));
4326
4330
  resumableState = new RequestInstance(
4327
4331
  resumableState,
4328
4332
  renderState,
@@ -8982,7 +8986,22 @@
8982
8986
  },
8983
8987
  callLazyInitInDEV =
8984
8988
  callLazyInit["react-stack-bottom-frame"].bind(callLazyInit),
8985
- CLIENT_RENDERED = 4,
8989
+ lastResetTime = 0;
8990
+ if (
8991
+ "object" === typeof performance &&
8992
+ "function" === typeof performance.now
8993
+ ) {
8994
+ var localPerformance = performance;
8995
+ var getCurrentTime = function () {
8996
+ return localPerformance.now();
8997
+ };
8998
+ } else {
8999
+ var localDate = Date;
9000
+ getCurrentTime = function () {
9001
+ return localDate.now();
9002
+ };
9003
+ }
9004
+ var CLIENT_RENDERED = 4,
8986
9005
  PENDING = 0,
8987
9006
  COMPLETED = 1,
8988
9007
  FLUSHED = 2,
@@ -9012,5 +9031,5 @@
9012
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'
9013
9032
  );
9014
9033
  };
9015
- exports.version = "19.1.0-canary-a4f9bd58-20250319";
9034
+ exports.version = "19.1.0-canary-740a4f7a-20250325";
9016
9035
  })();
@@ -5969,4 +5969,4 @@ exports.renderToString = function (children, options) {
5969
5969
  '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'
5970
5970
  );
5971
5971
  };
5972
- exports.version = "19.1.0-canary-a4f9bd58-20250319";
5972
+ exports.version = "19.1.0-canary-740a4f7a-20250325";
@@ -4471,6 +4471,10 @@
4471
4471
  onPostpone,
4472
4472
  formState
4473
4473
  ) {
4474
+ var now = getCurrentTime();
4475
+ 1e3 < now - lastResetTime &&
4476
+ ((ReactSharedInternals.recentlyCreatedOwnerStacks = 0),
4477
+ (lastResetTime = now));
4474
4478
  resumableState = new RequestInstance(
4475
4479
  resumableState,
4476
4480
  renderState,
@@ -7742,11 +7746,11 @@
7742
7746
  }
7743
7747
  function ensureCorrectIsomorphicReactVersion() {
7744
7748
  var isomorphicReactPackageVersion = React.version;
7745
- if ("19.1.0-canary-a4f9bd58-20250319" !== isomorphicReactPackageVersion)
7749
+ if ("19.1.0-canary-740a4f7a-20250325" !== isomorphicReactPackageVersion)
7746
7750
  throw Error(
7747
7751
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7748
7752
  (isomorphicReactPackageVersion +
7749
- "\n - react-dom: 19.1.0-canary-a4f9bd58-20250319\nLearn more: https://react.dev/warnings/version-mismatch")
7753
+ "\n - react-dom: 19.1.0-canary-740a4f7a-20250325\nLearn more: https://react.dev/warnings/version-mismatch")
7750
7754
  );
7751
7755
  }
7752
7756
  var React = require("react"),
@@ -9244,7 +9248,22 @@
9244
9248
  },
9245
9249
  callLazyInitInDEV =
9246
9250
  callLazyInit["react-stack-bottom-frame"].bind(callLazyInit),
9247
- CLIENT_RENDERED = 4,
9251
+ lastResetTime = 0;
9252
+ if (
9253
+ "object" === typeof performance &&
9254
+ "function" === typeof performance.now
9255
+ ) {
9256
+ var localPerformance = performance;
9257
+ var getCurrentTime = function () {
9258
+ return localPerformance.now();
9259
+ };
9260
+ } else {
9261
+ var localDate = Date;
9262
+ getCurrentTime = function () {
9263
+ return localDate.now();
9264
+ };
9265
+ }
9266
+ var CLIENT_RENDERED = 4,
9248
9267
  PENDING = 0,
9249
9268
  COMPLETED = 1,
9250
9269
  FLUSHED = 2,
@@ -9401,5 +9420,5 @@
9401
9420
  startWork(request);
9402
9421
  });
9403
9422
  };
9404
- exports.version = "19.1.0-canary-a4f9bd58-20250319";
9423
+ exports.version = "19.1.0-canary-740a4f7a-20250325";
9405
9424
  })();
@@ -6229,12 +6229,12 @@ function abort(request, reason) {
6229
6229
  }
6230
6230
  function ensureCorrectIsomorphicReactVersion() {
6231
6231
  var isomorphicReactPackageVersion = React.version;
6232
- if ("19.1.0-canary-a4f9bd58-20250319" !== isomorphicReactPackageVersion)
6232
+ if ("19.1.0-canary-740a4f7a-20250325" !== isomorphicReactPackageVersion)
6233
6233
  throw Error(
6234
6234
  formatProdErrorMessage(
6235
6235
  527,
6236
6236
  isomorphicReactPackageVersion,
6237
- "19.1.0-canary-a4f9bd58-20250319"
6237
+ "19.1.0-canary-740a4f7a-20250325"
6238
6238
  )
6239
6239
  );
6240
6240
  }
@@ -6381,4 +6381,4 @@ exports.renderToReadableStream = function (children, options) {
6381
6381
  startWork(request);
6382
6382
  });
6383
6383
  };
6384
- exports.version = "19.1.0-canary-a4f9bd58-20250319";
6384
+ exports.version = "19.1.0-canary-740a4f7a-20250325";
@@ -5498,7 +5498,20 @@ var callComponent = {
5498
5498
  },
5499
5499
  callLazyInitInDEV =
5500
5500
  callLazyInit["react-stack-bottom-frame"].bind(callLazyInit),
5501
- CLIENT_RENDERED = 4,
5501
+ lastResetTime = 0,
5502
+ getCurrentTime;
5503
+ if ("object" === typeof performance && "function" === typeof performance.now) {
5504
+ var localPerformance = performance;
5505
+ getCurrentTime = function () {
5506
+ return localPerformance.now();
5507
+ };
5508
+ } else {
5509
+ var localDate = Date;
5510
+ getCurrentTime = function () {
5511
+ return localDate.now();
5512
+ };
5513
+ }
5514
+ var CLIENT_RENDERED = 4,
5502
5515
  PENDING = 0,
5503
5516
  COMPLETED = 1,
5504
5517
  FLUSHED = 2,
@@ -5590,6 +5603,10 @@ function createRequest(
5590
5603
  onPostpone,
5591
5604
  formState
5592
5605
  ) {
5606
+ var now = getCurrentTime();
5607
+ 1e3 < now - lastResetTime &&
5608
+ ((ReactSharedInternals.recentlyCreatedOwnerStacks = 0),
5609
+ (lastResetTime = now));
5593
5610
  resumableState = new RequestInstance(
5594
5611
  resumableState,
5595
5612
  renderState,
@@ -8618,15 +8635,15 @@ function abort(request, reason) {
8618
8635
  fatalError(request, error$4, reason, null);
8619
8636
  }
8620
8637
  }
8621
- var isomorphicReactPackageVersion$jscomp$inline_740 = React.version;
8638
+ var isomorphicReactPackageVersion$jscomp$inline_743 = React.version;
8622
8639
  if (
8623
- "19.1.0-canary-a4f9bd58-20250319" !==
8624
- isomorphicReactPackageVersion$jscomp$inline_740
8640
+ "19.1.0-canary-740a4f7a-20250325" !==
8641
+ isomorphicReactPackageVersion$jscomp$inline_743
8625
8642
  )
8626
8643
  throw Error(
8627
8644
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
8628
- (isomorphicReactPackageVersion$jscomp$inline_740 +
8629
- "\n - react-dom: 19.1.0-canary-a4f9bd58-20250319\nLearn more: https://react.dev/warnings/version-mismatch")
8645
+ (isomorphicReactPackageVersion$jscomp$inline_743 +
8646
+ "\n - react-dom: 19.1.0-canary-740a4f7a-20250325\nLearn more: https://react.dev/warnings/version-mismatch")
8630
8647
  );
8631
8648
  exports.renderToReadableStream = function (children, options) {
8632
8649
  return new Promise(function (resolve, reject) {
@@ -8719,4 +8736,4 @@ exports.renderToReadableStream = function (children, options) {
8719
8736
  startWork(request$jscomp$0);
8720
8737
  });
8721
8738
  };
8722
- exports.version = "19.1.0-canary-a4f9bd58-20250319";
8739
+ exports.version = "19.1.0-canary-740a4f7a-20250325";
@@ -5867,13 +5867,13 @@ function abort(request, reason) {
5867
5867
  }
5868
5868
  var isomorphicReactPackageVersion$jscomp$inline_761 = React.version;
5869
5869
  if (
5870
- "19.1.0-canary-a4f9bd58-20250319" !==
5870
+ "19.1.0-canary-740a4f7a-20250325" !==
5871
5871
  isomorphicReactPackageVersion$jscomp$inline_761
5872
5872
  )
5873
5873
  throw Error(
5874
5874
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
5875
5875
  (isomorphicReactPackageVersion$jscomp$inline_761 +
5876
- "\n - react-dom: 19.1.0-canary-a4f9bd58-20250319\nLearn more: https://react.dev/warnings/version-mismatch")
5876
+ "\n - react-dom: 19.1.0-canary-740a4f7a-20250325\nLearn more: https://react.dev/warnings/version-mismatch")
5877
5877
  );
5878
5878
  exports.renderToReadableStream = function (children, options) {
5879
5879
  return new Promise(function (resolve, reject) {
@@ -5964,4 +5964,4 @@ exports.renderToReadableStream = function (children, options) {
5964
5964
  startWork(request);
5965
5965
  });
5966
5966
  };
5967
- exports.version = "19.1.0-canary-a4f9bd58-20250319";
5967
+ exports.version = "19.1.0-canary-740a4f7a-20250325";
@@ -4473,6 +4473,10 @@
4473
4473
  onPostpone,
4474
4474
  formState
4475
4475
  ) {
4476
+ var now = getCurrentTime();
4477
+ 1e3 < now - lastResetTime &&
4478
+ ((ReactSharedInternals.recentlyCreatedOwnerStacks = 0),
4479
+ (lastResetTime = now));
4476
4480
  resumableState = new RequestInstance(
4477
4481
  resumableState,
4478
4482
  renderState,
@@ -7765,11 +7769,11 @@
7765
7769
  }
7766
7770
  function ensureCorrectIsomorphicReactVersion() {
7767
7771
  var isomorphicReactPackageVersion = React.version;
7768
- if ("19.1.0-canary-a4f9bd58-20250319" !== isomorphicReactPackageVersion)
7772
+ if ("19.1.0-canary-740a4f7a-20250325" !== isomorphicReactPackageVersion)
7769
7773
  throw Error(
7770
7774
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7771
7775
  (isomorphicReactPackageVersion +
7772
- "\n - react-dom: 19.1.0-canary-a4f9bd58-20250319\nLearn more: https://react.dev/warnings/version-mismatch")
7776
+ "\n - react-dom: 19.1.0-canary-740a4f7a-20250325\nLearn more: https://react.dev/warnings/version-mismatch")
7773
7777
  );
7774
7778
  }
7775
7779
  var React = require("react"),
@@ -9263,7 +9267,22 @@
9263
9267
  },
9264
9268
  callLazyInitInDEV =
9265
9269
  callLazyInit["react-stack-bottom-frame"].bind(callLazyInit),
9266
- CLIENT_RENDERED = 4,
9270
+ lastResetTime = 0;
9271
+ if (
9272
+ "object" === typeof performance &&
9273
+ "function" === typeof performance.now
9274
+ ) {
9275
+ var localPerformance = performance;
9276
+ var getCurrentTime = function () {
9277
+ return localPerformance.now();
9278
+ };
9279
+ } else {
9280
+ var localDate = Date;
9281
+ getCurrentTime = function () {
9282
+ return localDate.now();
9283
+ };
9284
+ }
9285
+ var CLIENT_RENDERED = 4,
9267
9286
  PENDING = 0,
9268
9287
  COMPLETED = 1,
9269
9288
  FLUSHED = 2,
@@ -9420,5 +9439,5 @@
9420
9439
  startWork(request);
9421
9440
  });
9422
9441
  };
9423
- exports.version = "19.1.0-canary-a4f9bd58-20250319";
9442
+ exports.version = "19.1.0-canary-740a4f7a-20250325";
9424
9443
  })();
@@ -6324,11 +6324,11 @@ function abort(request, reason) {
6324
6324
  }
6325
6325
  function ensureCorrectIsomorphicReactVersion() {
6326
6326
  var isomorphicReactPackageVersion = React.version;
6327
- if ("19.1.0-canary-a4f9bd58-20250319" !== isomorphicReactPackageVersion)
6327
+ if ("19.1.0-canary-740a4f7a-20250325" !== isomorphicReactPackageVersion)
6328
6328
  throw Error(
6329
6329
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
6330
6330
  (isomorphicReactPackageVersion +
6331
- "\n - react-dom: 19.1.0-canary-a4f9bd58-20250319\nLearn more: https://react.dev/warnings/version-mismatch")
6331
+ "\n - react-dom: 19.1.0-canary-740a4f7a-20250325\nLearn more: https://react.dev/warnings/version-mismatch")
6332
6332
  );
6333
6333
  }
6334
6334
  ensureCorrectIsomorphicReactVersion();
@@ -6474,4 +6474,4 @@ exports.renderToReadableStream = function (children, options) {
6474
6474
  startWork(request);
6475
6475
  });
6476
6476
  };
6477
- exports.version = "19.1.0-canary-a4f9bd58-20250319";
6477
+ exports.version = "19.1.0-canary-740a4f7a-20250325";
@@ -4376,6 +4376,10 @@
4376
4376
  onPostpone,
4377
4377
  formState
4378
4378
  ) {
4379
+ var now = getCurrentTime();
4380
+ 1e3 < now - lastResetTime &&
4381
+ ((ReactSharedInternals.recentlyCreatedOwnerStacks = 0),
4382
+ (lastResetTime = now));
4379
4383
  resumableState = new RequestInstance(
4380
4384
  resumableState,
4381
4385
  renderState,
@@ -7640,11 +7644,11 @@
7640
7644
  }
7641
7645
  function ensureCorrectIsomorphicReactVersion() {
7642
7646
  var isomorphicReactPackageVersion = React.version;
7643
- if ("19.1.0-canary-a4f9bd58-20250319" !== isomorphicReactPackageVersion)
7647
+ if ("19.1.0-canary-740a4f7a-20250325" !== isomorphicReactPackageVersion)
7644
7648
  throw Error(
7645
7649
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7646
7650
  (isomorphicReactPackageVersion +
7647
- "\n - react-dom: 19.1.0-canary-a4f9bd58-20250319\nLearn more: https://react.dev/warnings/version-mismatch")
7651
+ "\n - react-dom: 19.1.0-canary-740a4f7a-20250325\nLearn more: https://react.dev/warnings/version-mismatch")
7648
7652
  );
7649
7653
  }
7650
7654
  function createDrainHandler(destination, request) {
@@ -9188,7 +9192,22 @@
9188
9192
  },
9189
9193
  callLazyInitInDEV =
9190
9194
  callLazyInit["react-stack-bottom-frame"].bind(callLazyInit),
9191
- CLIENT_RENDERED = 4,
9195
+ lastResetTime = 0;
9196
+ if (
9197
+ "object" === typeof performance &&
9198
+ "function" === typeof performance.now
9199
+ ) {
9200
+ var localPerformance = performance;
9201
+ var getCurrentTime = function () {
9202
+ return localPerformance.now();
9203
+ };
9204
+ } else {
9205
+ var localDate = Date;
9206
+ getCurrentTime = function () {
9207
+ return localDate.now();
9208
+ };
9209
+ }
9210
+ var CLIENT_RENDERED = 4,
9192
9211
  PENDING = 0,
9193
9212
  COMPLETED = 1,
9194
9213
  FLUSHED = 2,
@@ -9294,5 +9313,5 @@
9294
9313
  }
9295
9314
  };
9296
9315
  };
9297
- exports.version = "19.1.0-canary-a4f9bd58-20250319";
9316
+ exports.version = "19.1.0-canary-740a4f7a-20250325";
9298
9317
  })();
@@ -6216,11 +6216,11 @@ function abort(request, reason) {
6216
6216
  }
6217
6217
  function ensureCorrectIsomorphicReactVersion() {
6218
6218
  var isomorphicReactPackageVersion = React.version;
6219
- if ("19.1.0-canary-a4f9bd58-20250319" !== isomorphicReactPackageVersion)
6219
+ if ("19.1.0-canary-740a4f7a-20250325" !== isomorphicReactPackageVersion)
6220
6220
  throw Error(
6221
6221
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
6222
6222
  (isomorphicReactPackageVersion +
6223
- "\n - react-dom: 19.1.0-canary-a4f9bd58-20250319\nLearn more: https://react.dev/warnings/version-mismatch")
6223
+ "\n - react-dom: 19.1.0-canary-740a4f7a-20250325\nLearn more: https://react.dev/warnings/version-mismatch")
6224
6224
  );
6225
6225
  }
6226
6226
  ensureCorrectIsomorphicReactVersion();
@@ -6369,4 +6369,4 @@ exports.renderToPipeableStream = function (children, options) {
6369
6369
  }
6370
6370
  };
6371
6371
  };
6372
- exports.version = "19.1.0-canary-a4f9bd58-20250319";
6372
+ exports.version = "19.1.0-canary-740a4f7a-20250325";
@@ -416,7 +416,7 @@
416
416
  exports.useFormStatus = function () {
417
417
  return resolveDispatcher().useHostTransitionStatus();
418
418
  };
419
- exports.version = "19.1.0-canary-a4f9bd58-20250319";
419
+ exports.version = "19.1.0-canary-740a4f7a-20250325";
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-a4f9bd58-20250319";
210
+ exports.version = "19.1.0-canary-740a4f7a-20250325";
@@ -336,5 +336,5 @@
336
336
  }))
337
337
  : Internals.d.m(href));
338
338
  };
339
- exports.version = "19.1.0-canary-a4f9bd58-20250319";
339
+ exports.version = "19.1.0-canary-740a4f7a-20250325";
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-a4f9bd58-20250319";
152
+ exports.version = "19.1.0-canary-740a4f7a-20250325";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-dom",
3
- "version": "19.1.0-canary-a4f9bd58-20250319",
3
+ "version": "19.1.0-canary-740a4f7a-20250325",
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-a4f9bd58-20250319"
20
+ "scheduler": "0.26.0-canary-740a4f7a-20250325"
21
21
  },
22
22
  "peerDependencies": {
23
- "react": "19.1.0-canary-a4f9bd58-20250319"
23
+ "react": "19.1.0-canary-740a4f7a-20250325"
24
24
  },
25
25
  "files": [
26
26
  "LICENSE",