...**/!(*.map|*.min.js)Size
Gzip
Dependencies
Publish
Install
Publish
Install
@@ -72,7 +72,7 @@ | |||
| 72 | assign(pureComponentPrototype, Component.prototype); | 72 | assign(pureComponentPrototype, Component.prototype); |
| 73 | pureComponentPrototype.isPureReactComponent = !0; | 73 | pureComponentPrototype.isPureReactComponent = !0; |
| 74 | var isArrayImpl = Array.isArray, | 74 | var isArrayImpl = Array.isArray, |
| 75 | ReactSharedInternals = { H: null, A: null, T: null, S: null }, | 75 | ReactSharedInternals = { H: null, A: null, T: null, S: null, V: null }, |
| 76 | hasOwnProperty = Object.prototype.hasOwnProperty; | 76 | hasOwnProperty = Object.prototype.hasOwnProperty; |
| 77 | function ReactElement(type, key, self, source, owner, props) { | 77 | function ReactElement(type, key, self, source, owner, props) { |
| 78 | self = props.ref; | 78 | self = props.ref; |
@@ -357,8 +357,11 @@ | |||
| 357 | exports.Suspense = REACT_SUSPENSE_TYPE; | 357 | exports.Suspense = REACT_SUSPENSE_TYPE; |
| 358 | exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = | 358 | exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = |
| 359 | ReactSharedInternals; | 359 | ReactSharedInternals; |
| 360 | exports.act = function () { | ||
| 361 | throw Error("act(...) is not supported in production builds of React."); | 360 | exports.__COMPILER_RUNTIME = { |
| 361 | __proto__: null, | ||
| 362 | c: function (size) { | ||
| 363 | return ReactSharedInternals.H.useMemoCache(size); | ||
| 364 | } | ||
| 362 | }; | 365 | }; |
| 363 | exports.cache = function (fn) { | 366 | exports.cache = function (fn) { |
| 364 | return function () { | 367 | return function () { |
@@ -491,8 +494,13 @@ | |||
| 491 | exports.useDeferredValue = function (value, initialValue) { | 494 | exports.useDeferredValue = function (value, initialValue) { |
| 492 | return ReactSharedInternals.H.useDeferredValue(value, initialValue); | 495 | return ReactSharedInternals.H.useDeferredValue(value, initialValue); |
| 493 | }; | 496 | }; |
| 494 | exports.useEffect = function (create, deps) { | ||
| 495 | return ReactSharedInternals.H.useEffect(create, deps); | 497 | exports.useEffect = function (create, createDeps, update) { |
| 498 | var dispatcher = ReactSharedInternals.H; | ||
| 499 | if ("function" === typeof update) | ||
| 500 | throw Error( | ||
| 501 | "useEffect CRUD overload is not enabled in this build of React." | ||
| 502 | ); | ||
| 503 | return dispatcher.useEffect(create, createDeps); | ||
| 496 | }; | 504 | }; |
| 497 | exports.useId = function () { | 505 | exports.useId = function () { |
| 498 | return ReactSharedInternals.H.useId(); | 506 | return ReactSharedInternals.H.useId(); |
@@ -535,4 +543,4 @@ | |||
| 535 | exports.useTransition = function () { | 543 | exports.useTransition = function () { |
| 536 | return ReactSharedInternals.H.useTransition(); | 544 | return ReactSharedInternals.H.useTransition(); |
| 537 | }; | 545 | }; |
| 538 | exports.version = "19.0.4"; | 546 | exports.version = "19.1.0"; |
@@ -340,6 +340,9 @@ | |||
| 340 | } | 340 | } |
| 341 | }; | 341 | }; |
| 342 | }; | 342 | }; |
| 343 | exports.captureOwnerStack = function () { | ||
| 344 | return null; | ||
| 345 | }; | ||
| 343 | exports.cloneElement = function (element, config, children) { | 346 | exports.cloneElement = function (element, config, children) { |
| 344 | if (null === element || void 0 === element) | 347 | if (null === element || void 0 === element) |
| 345 | throw Error(formatProdErrorMessage(267, element)); | 348 | throw Error(formatProdErrorMessage(267, element)); |
@@ -423,4 +426,4 @@ | |||
| 423 | exports.useMemo = function (create, deps) { | 426 | exports.useMemo = function (create, deps) { |
| 424 | return ReactSharedInternals.H.useMemo(create, deps); | 427 | return ReactSharedInternals.H.useMemo(create, deps); |
| 425 | }; | 428 | }; |
| 426 | exports.version = "19.0.4"; | 429 | exports.version = "19.1.0"; |
@@ -4,7 +4,7 @@ | |||
| 4 | "keywords": [ | 4 | "keywords": [ |
| 5 | "react" | 5 | "react" |
| 6 | ], | 6 | ], |
| 7 | "version": "19.0.4", | 7 | "version": "19.1.0", |
| 8 | "homepage": "https://react.dev/", | 8 | "homepage": "https://react.dev/", |
| 9 | "bugs": "https://github.com/facebook/react/issues", | 9 | "bugs": "https://github.com/facebook/react/issues", |
| 10 | "license": "MIT", | 10 | "license": "MIT", |