react 19.0.0 → 19.1.0-canary-7130d0c6-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.
@@ -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.0.0";
1521
+ exports.version = "19.1.0-canary-7130d0c6-20241212";
1517
1522
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1518
1523
  "function" ===
1519
1524
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -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.0.0";
543
+ exports.version = "19.1.0-canary-7130d0c6-20241212";
@@ -1110,5 +1110,5 @@
1110
1110
  exports.useMemo = function (create, deps) {
1111
1111
  return resolveDispatcher().useMemo(create, deps);
1112
1112
  };
1113
- exports.version = "19.0.0";
1113
+ exports.version = "19.1.0-canary-7130d0c6-20241212";
1114
1114
  })();
@@ -423,4 +423,4 @@ exports.useId = function () {
423
423
  exports.useMemo = function (create, deps) {
424
424
  return ReactSharedInternals.H.useMemo(create, deps);
425
425
  };
426
- exports.version = "19.0.0";
426
+ exports.version = "19.1.0-canary-7130d0c6-20241212";
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "keywords": [
5
5
  "react"
6
6
  ],
7
- "version": "19.0.0",
7
+ "version": "19.1.0-canary-7130d0c6-20241212",
8
8
  "homepage": "https://react.dev/",
9
9
  "bugs": "https://github.com/facebook/react/issues",
10
10
  "license": "MIT",