react 19.1.0-canary-540efebc-20250112 → 19.1.0-canary-b3a95caf-20250113
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
@@ -1029,6 +1029,12 @@
|
|
1029
1029
|
});
|
1030
1030
|
}
|
1031
1031
|
: enqueueTask;
|
1032
|
+
deprecatedAPIs = Object.freeze({
|
1033
|
+
__proto__: null,
|
1034
|
+
c: function (size) {
|
1035
|
+
return resolveDispatcher().useMemoCache(size);
|
1036
|
+
}
|
1037
|
+
});
|
1032
1038
|
exports.Children = {
|
1033
1039
|
map: mapChildren,
|
1034
1040
|
forEach: function (children, forEachFunc, forEachContext) {
|
@@ -1070,11 +1076,7 @@
|
|
1070
1076
|
exports.Suspense = REACT_SUSPENSE_TYPE;
|
1071
1077
|
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
1072
1078
|
ReactSharedInternals;
|
1073
|
-
exports.__COMPILER_RUNTIME =
|
1074
|
-
c: function (size) {
|
1075
|
-
return resolveDispatcher().useMemoCache(size);
|
1076
|
-
}
|
1077
|
-
};
|
1079
|
+
exports.__COMPILER_RUNTIME = deprecatedAPIs;
|
1078
1080
|
exports.act = function (callback) {
|
1079
1081
|
var prevActQueue = ReactSharedInternals.actQueue,
|
1080
1082
|
prevActScopeDepth = actScopeDepth;
|
@@ -1518,7 +1520,7 @@
|
|
1518
1520
|
exports.useTransition = function () {
|
1519
1521
|
return resolveDispatcher().useTransition();
|
1520
1522
|
};
|
1521
|
-
exports.version = "19.1.0-canary-
|
1523
|
+
exports.version = "19.1.0-canary-b3a95caf-20250113";
|
1522
1524
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
1523
1525
|
"function" ===
|
1524
1526
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
package/cjs/react.production.js
CHANGED
@@ -358,6 +358,7 @@ exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
358
358
|
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
359
359
|
ReactSharedInternals;
|
360
360
|
exports.__COMPILER_RUNTIME = {
|
361
|
+
__proto__: null,
|
361
362
|
c: function (size) {
|
362
363
|
return ReactSharedInternals.H.useMemoCache(size);
|
363
364
|
}
|
@@ -540,4 +541,4 @@ exports.useSyncExternalStore = function (
|
|
540
541
|
exports.useTransition = function () {
|
541
542
|
return ReactSharedInternals.H.useTransition();
|
542
543
|
};
|
543
|
-
exports.version = "19.1.0-canary-
|
544
|
+
exports.version = "19.1.0-canary-b3a95caf-20250113";
|