react 19.1.0-canary-db7dfe05-20250319 → 19.1.0-canary-e1e74071-20250321
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
@@ -87,7 +87,7 @@
|
|
87
87
|
function getComponentNameFromType(type) {
|
88
88
|
if (null == type) return null;
|
89
89
|
if ("function" === typeof type)
|
90
|
-
return type.$$typeof === REACT_CLIENT_REFERENCE
|
90
|
+
return type.$$typeof === REACT_CLIENT_REFERENCE
|
91
91
|
? null
|
92
92
|
: type.displayName || type.name || null;
|
93
93
|
if ("string" === typeof type) return type;
|
@@ -651,7 +651,7 @@
|
|
651
651
|
assign(deprecatedAPIs, Component.prototype);
|
652
652
|
deprecatedAPIs.isPureReactComponent = !0;
|
653
653
|
var isArrayImpl = Array.isArray,
|
654
|
-
REACT_CLIENT_REFERENCE
|
654
|
+
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
655
655
|
ReactSharedInternals = {
|
656
656
|
H: null,
|
657
657
|
A: null,
|
@@ -676,7 +676,6 @@
|
|
676
676
|
var didWarnAboutElementRef = {};
|
677
677
|
var didWarnAboutMaps = !1,
|
678
678
|
userProvidedKeyEscapeRegex = /\/+/g,
|
679
|
-
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
680
679
|
reportGlobalError =
|
681
680
|
"function" === typeof reportError
|
682
681
|
? reportError
|
@@ -1077,23 +1076,7 @@
|
|
1077
1076
|
};
|
1078
1077
|
};
|
1079
1078
|
exports.memo = function (type, compare) {
|
1080
|
-
|
1081
|
-
"function" === typeof type ||
|
1082
|
-
type === REACT_FRAGMENT_TYPE ||
|
1083
|
-
type === REACT_PROFILER_TYPE ||
|
1084
|
-
type === REACT_STRICT_MODE_TYPE ||
|
1085
|
-
type === REACT_SUSPENSE_TYPE ||
|
1086
|
-
type === REACT_SUSPENSE_LIST_TYPE ||
|
1087
|
-
type === REACT_ACTIVITY_TYPE ||
|
1088
|
-
("object" === typeof type &&
|
1089
|
-
null !== type &&
|
1090
|
-
(type.$$typeof === REACT_LAZY_TYPE ||
|
1091
|
-
type.$$typeof === REACT_MEMO_TYPE ||
|
1092
|
-
type.$$typeof === REACT_CONTEXT_TYPE ||
|
1093
|
-
type.$$typeof === REACT_CONSUMER_TYPE ||
|
1094
|
-
type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
1095
|
-
type.$$typeof === REACT_CLIENT_REFERENCE ||
|
1096
|
-
void 0 !== type.getModuleId)) ||
|
1079
|
+
null == type &&
|
1097
1080
|
console.error(
|
1098
1081
|
"memo: The first argument must be a component. Instead received: %s",
|
1099
1082
|
null === type ? "null" : typeof type
|
@@ -1239,7 +1222,7 @@
|
|
1239
1222
|
exports.useTransition = function () {
|
1240
1223
|
return resolveDispatcher().useTransition();
|
1241
1224
|
};
|
1242
|
-
exports.version = "19.1.0-canary-
|
1225
|
+
exports.version = "19.1.0-canary-e1e74071-20250321";
|
1243
1226
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
1244
1227
|
"function" ===
|
1245
1228
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
package/cjs/react.production.js
CHANGED
@@ -49,7 +49,7 @@
|
|
49
49
|
function getComponentNameFromType(type) {
|
50
50
|
if (null == type) return null;
|
51
51
|
if ("function" === typeof type)
|
52
|
-
return type.$$typeof === REACT_CLIENT_REFERENCE
|
52
|
+
return type.$$typeof === REACT_CLIENT_REFERENCE
|
53
53
|
? null
|
54
54
|
: type.displayName || type.name || null;
|
55
55
|
if ("string" === typeof type) return type;
|
@@ -480,7 +480,7 @@
|
|
480
480
|
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
481
481
|
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
|
482
482
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
483
|
-
REACT_CLIENT_REFERENCE
|
483
|
+
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
484
484
|
hasOwnProperty = Object.prototype.hasOwnProperty,
|
485
485
|
assign = Object.assign,
|
486
486
|
createTask = console.createTask
|
@@ -492,8 +492,7 @@
|
|
492
492
|
didWarnAboutOldJSXRuntime;
|
493
493
|
var didWarnAboutElementRef = {};
|
494
494
|
var didWarnAboutMaps = !1,
|
495
|
-
userProvidedKeyEscapeRegex = /\/+/g
|
496
|
-
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
495
|
+
userProvidedKeyEscapeRegex = /\/+/g;
|
497
496
|
exports.Children = {
|
498
497
|
map: mapChildren,
|
499
498
|
forEach: function (children, forEachFunc, forEachContext) {
|
@@ -753,23 +752,7 @@
|
|
753
752
|
};
|
754
753
|
};
|
755
754
|
exports.memo = function (type, compare) {
|
756
|
-
|
757
|
-
"function" === typeof type ||
|
758
|
-
type === REACT_FRAGMENT_TYPE ||
|
759
|
-
type === REACT_PROFILER_TYPE ||
|
760
|
-
type === REACT_STRICT_MODE_TYPE ||
|
761
|
-
type === REACT_SUSPENSE_TYPE ||
|
762
|
-
type === REACT_SUSPENSE_LIST_TYPE ||
|
763
|
-
type === REACT_ACTIVITY_TYPE ||
|
764
|
-
("object" === typeof type &&
|
765
|
-
null !== type &&
|
766
|
-
(type.$$typeof === REACT_LAZY_TYPE ||
|
767
|
-
type.$$typeof === REACT_MEMO_TYPE ||
|
768
|
-
type.$$typeof === REACT_CONTEXT_TYPE ||
|
769
|
-
type.$$typeof === REACT_CONSUMER_TYPE ||
|
770
|
-
type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
771
|
-
type.$$typeof === REACT_CLIENT_REFERENCE ||
|
772
|
-
void 0 !== type.getModuleId)) ||
|
755
|
+
null == type &&
|
773
756
|
console.error(
|
774
757
|
"memo: The first argument must be a component. Instead received: %s",
|
775
758
|
null === type ? "null" : typeof type
|
@@ -811,5 +794,5 @@
|
|
811
794
|
exports.useMemo = function (create, deps) {
|
812
795
|
return resolveDispatcher().useMemo(create, deps);
|
813
796
|
};
|
814
|
-
exports.version = "19.1.0-canary-
|
797
|
+
exports.version = "19.1.0-canary-e1e74071-20250321";
|
815
798
|
})();
|