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.
package/cjs/react.development.js
CHANGED
|
@@ -1322,7 +1322,7 @@
|
|
|
1322
1322
|
exports.useTransition = function () {
|
|
1323
1323
|
return resolveDispatcher().useTransition();
|
|
1324
1324
|
};
|
|
1325
|
-
exports.version = "19.3.0-canary-
|
|
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 &&
|
package/cjs/react.production.js
CHANGED
|
@@ -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
|
-
|
|
269
|
-
|
|
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),
|
|
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),
|
|
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 &&
|
|
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-
|
|
565
|
+
exports.version = "19.3.0-canary-41b3e9a6-20260119";
|
|
@@ -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
|
-
|
|
241
|
-
|
|
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),
|
|
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),
|
|
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 &&
|
|
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-
|
|
436
|
+
exports.version = "19.3.0-canary-41b3e9a6-20260119";
|