react 19.3.0-canary-bb8a76c6-20260115 → 19.3.0-canary-41b3e9a6-20260119

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.
@@ -1322,7 +1322,7 @@
1322
1322
  exports.useTransition = function () {
1323
1323
  return resolveDispatcher().useTransition();
1324
1324
  };
1325
- exports.version = "19.3.0-canary-bb8a76c6-20260115";
1325
+ exports.version = "19.3.0-canary-41b3e9a6-20260119";
1326
1326
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1327
1327
  "function" ===
1328
1328
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -264,19 +264,27 @@ function mapChildren(children, func, context) {
264
264
  }
265
265
  function lazyInitializer(payload) {
266
266
  if (-1 === payload._status) {
267
- var ctor = payload._result;
268
- ctor = ctor();
269
- ctor.then(
267
+ var ctor = payload._result,
268
+ thenable = ctor();
269
+ thenable.then(
270
270
  function (moduleObject) {
271
271
  if (0 === payload._status || -1 === payload._status)
272
- (payload._status = 1), (payload._result = moduleObject);
272
+ (payload._status = 1),
273
+ (payload._result = moduleObject),
274
+ void 0 === thenable.status &&
275
+ ((thenable.status = "fulfilled"),
276
+ (thenable.value = moduleObject));
273
277
  },
274
278
  function (error) {
275
279
  if (0 === payload._status || -1 === payload._status)
276
- (payload._status = 2), (payload._result = error);
280
+ (payload._status = 2),
281
+ (payload._result = error),
282
+ void 0 === thenable.status &&
283
+ ((thenable.status = "rejected"), (thenable.reason = error));
277
284
  }
278
285
  );
279
- -1 === payload._status && ((payload._status = 0), (payload._result = ctor));
286
+ -1 === payload._status &&
287
+ ((payload._status = 0), (payload._result = thenable));
280
288
  }
281
289
  if (1 === payload._status) return payload._result.default;
282
290
  throw payload._result;
@@ -554,4 +562,4 @@ exports.useSyncExternalStore = function (
554
562
  exports.useTransition = function () {
555
563
  return ReactSharedInternals.H.useTransition();
556
564
  };
557
- exports.version = "19.3.0-canary-bb8a76c6-20260115";
565
+ exports.version = "19.3.0-canary-41b3e9a6-20260119";
@@ -874,5 +874,5 @@
874
874
  exports.useMemo = function (create, deps) {
875
875
  return resolveDispatcher().useMemo(create, deps);
876
876
  };
877
- exports.version = "19.3.0-canary-bb8a76c6-20260115";
877
+ exports.version = "19.3.0-canary-41b3e9a6-20260119";
878
878
  })();
@@ -236,19 +236,27 @@ function mapChildren(children, func, context) {
236
236
  }
237
237
  function lazyInitializer(payload) {
238
238
  if (-1 === payload._status) {
239
- var ctor = payload._result;
240
- ctor = ctor();
241
- ctor.then(
239
+ var ctor = payload._result,
240
+ thenable = ctor();
241
+ thenable.then(
242
242
  function (moduleObject) {
243
243
  if (0 === payload._status || -1 === payload._status)
244
- (payload._status = 1), (payload._result = moduleObject);
244
+ (payload._status = 1),
245
+ (payload._result = moduleObject),
246
+ void 0 === thenable.status &&
247
+ ((thenable.status = "fulfilled"),
248
+ (thenable.value = moduleObject));
245
249
  },
246
250
  function (error) {
247
251
  if (0 === payload._status || -1 === payload._status)
248
- (payload._status = 2), (payload._result = error);
252
+ (payload._status = 2),
253
+ (payload._result = error),
254
+ void 0 === thenable.status &&
255
+ ((thenable.status = "rejected"), (thenable.reason = error));
249
256
  }
250
257
  );
251
- -1 === payload._status && ((payload._status = 0), (payload._result = ctor));
258
+ -1 === payload._status &&
259
+ ((payload._status = 0), (payload._result = thenable));
252
260
  }
253
261
  if (1 === payload._status) return payload._result.default;
254
262
  throw payload._result;
@@ -425,4 +433,4 @@ exports.useId = function () {
425
433
  exports.useMemo = function (create, deps) {
426
434
  return ReactSharedInternals.H.useMemo(create, deps);
427
435
  };
428
- exports.version = "19.3.0-canary-bb8a76c6-20260115";
436
+ exports.version = "19.3.0-canary-41b3e9a6-20260119";
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "keywords": [
5
5
  "react"
6
6
  ],
7
- "version": "19.3.0-canary-bb8a76c6-20260115",
7
+ "version": "19.3.0-canary-41b3e9a6-20260119",
8
8
  "homepage": "https://react.dev/",
9
9
  "bugs": "https://github.com/facebook/react/issues",
10
10
  "license": "MIT",