...**/!(*.map|*.min.js)Size
Gzip
Dependencies
Publish
Install
Publish
Install
@@ -72,7 +72,7 @@ | ||
| 72 | 72 | assign(pureComponentPrototype, Component.prototype); |
| 73 | 73 | pureComponentPrototype.isPureReactComponent = !0; |
| 74 | 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 | 76 | hasOwnProperty = Object.prototype.hasOwnProperty; |
| 77 | 77 | function ReactElement(type, key, self, source, owner, props) { |
| 78 | 78 | self = props.ref; |
@@ -357,8 +357,11 @@ | ||
| 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.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 | 366 | exports.cache = function (fn) { |
| 364 | 367 | return function () { |
@@ -491,8 +494,13 @@ | ||
| 491 | 494 | exports.useDeferredValue = function (value, initialValue) { |
| 492 | 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 | 505 | exports.useId = function () { |
| 498 | 506 | return ReactSharedInternals.H.useId(); |
@@ -535,4 +543,4 @@ | ||
| 535 | 543 | exports.useTransition = function () { |
| 536 | 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 | 346 | exports.cloneElement = function (element, config, children) { |
| 344 | 347 | if (null === element || void 0 === element) |
| 345 | 348 | throw Error(formatProdErrorMessage(267, element)); |
@@ -423,4 +426,4 @@ | ||
| 423 | 426 | exports.useMemo = function (create, deps) { |
| 424 | 427 | return ReactSharedInternals.H.useMemo(create, deps); |
| 425 | 428 | }; |
| 426 | exports.version = "19.0.4"; | |
| 429 | exports.version = "19.1.0"; | |