react 19.0.0-rc.1 → 19.1.0-canary-130095f7-20241212
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
@@ -1070,6 +1070,11 @@
|
|
1070
1070
|
exports.Suspense = REACT_SUSPENSE_TYPE;
|
1071
1071
|
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
1072
1072
|
ReactSharedInternals;
|
1073
|
+
exports.__COMPILER_RUNTIME = {
|
1074
|
+
c: function (size) {
|
1075
|
+
return resolveDispatcher().useMemoCache(size);
|
1076
|
+
}
|
1077
|
+
};
|
1073
1078
|
exports.act = function (callback) {
|
1074
1079
|
var prevActQueue = ReactSharedInternals.actQueue,
|
1075
1080
|
prevActScopeDepth = actScopeDepth;
|
@@ -1513,7 +1518,7 @@
|
|
1513
1518
|
exports.useTransition = function () {
|
1514
1519
|
return resolveDispatcher().useTransition();
|
1515
1520
|
};
|
1516
|
-
exports.version = "19.
|
1521
|
+
exports.version = "19.1.0-canary-130095f7-20241212";
|
1517
1522
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
1518
1523
|
"function" ===
|
1519
1524
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
package/cjs/react.production.js
CHANGED
@@ -357,6 +357,11 @@ exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
357
357
|
exports.Suspense = REACT_SUSPENSE_TYPE;
|
358
358
|
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
359
359
|
ReactSharedInternals;
|
360
|
+
exports.__COMPILER_RUNTIME = {
|
361
|
+
c: function (size) {
|
362
|
+
return ReactSharedInternals.H.useMemoCache(size);
|
363
|
+
}
|
364
|
+
};
|
360
365
|
exports.act = function () {
|
361
366
|
throw Error("act(...) is not supported in production builds of React.");
|
362
367
|
};
|
@@ -535,4 +540,4 @@ exports.useSyncExternalStore = function (
|
|
535
540
|
exports.useTransition = function () {
|
536
541
|
return ReactSharedInternals.H.useTransition();
|
537
542
|
};
|
538
|
-
exports.version = "19.
|
543
|
+
exports.version = "19.1.0-canary-130095f7-20241212";
|