mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[compiler] Fix error message for custom hooks (#33310)
We were printing "Custom" instead of "hook".
DiffTrain build for [c6c2a52ad8](https://github.com/facebook/react/commit/c6c2a52ad8fb1894b03a3bb618eb57e5deca5aa0)
This commit is contained in:
@@ -1 +1 @@
|
||||
19.2.0-native-fb-a3abf5f2-20250519
|
||||
19.2.0-native-fb-c6c2a52a-20250519
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<0aa474032c1229862bd4cee57e4c15bc>>
|
||||
* @generated SignedSource<<28c22d0ece713d9785cf5d25d3946b93>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -404,5 +404,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-a3abf5f2-20250519";
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<59268373f059bc8847e9313ebd652d32>>
|
||||
* @generated SignedSource<<bf91b7580639db14361d4216e3a87d7d>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-a3abf5f2-20250519";
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<59268373f059bc8847e9313ebd652d32>>
|
||||
* @generated SignedSource<<bf91b7580639db14361d4216e3a87d7d>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-a3abf5f2-20250519";
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
|
||||
Vendored
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<d5a5f3bb88cc47ed49d889ee61225bd3>>
|
||||
* @generated SignedSource<<9b4af32d9f53d4ac82128e9bfa64ca35>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -27010,11 +27010,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-a3abf5f2-20250519" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-c6c2a52a-20250519" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.2.0-native-fb-a3abf5f2-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-c6c2a52a-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27051,10 +27051,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-a3abf5f2-20250519",
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-a3abf5f2-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27192,5 +27192,5 @@ __DEV__ &&
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-a3abf5f2-20250519";
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
})();
|
||||
|
||||
compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js
Vendored
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<d0e1fda4bef095a9b7f5cb8a92a1f47d>>
|
||||
* @generated SignedSource<<6c2730f8acf26ff9a5980f9a5f4b64a7>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17094,14 +17094,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2017 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-a3abf5f2-20250519" !==
|
||||
"19.2.0-native-fb-c6c2a52a-20250519" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2017
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2017,
|
||||
"19.2.0-native-fb-a3abf5f2-20250519"
|
||||
"19.2.0-native-fb-c6c2a52a-20250519"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17123,10 +17123,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2536 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-a3abf5f2-20250519",
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-a3abf5f2-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2537 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17224,4 +17224,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-a3abf5f2-20250519";
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<ff883a2238e20ac2564a221a7f2f5c37>>
|
||||
* @generated SignedSource<<d18d348be88eb42a0ddb0433b4788107>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17804,14 +17804,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2120 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-a3abf5f2-20250519" !==
|
||||
"19.2.0-native-fb-c6c2a52a-20250519" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2120
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2120,
|
||||
"19.2.0-native-fb-a3abf5f2-20250519"
|
||||
"19.2.0-native-fb-c6c2a52a-20250519"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17833,10 +17833,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2127 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-a3abf5f2-20250519",
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-a3abf5f2-20250519",
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$313 = 0;
|
||||
@@ -17949,4 +17949,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-a3abf5f2-20250519";
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<3dc8192e3c7882d9621e73e6fe84cf6c>>
|
||||
* @generated SignedSource<<11513610ac0a657bbba9609daa9a746d>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -27066,11 +27066,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-a3abf5f2-20250519" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-c6c2a52a-20250519" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.2.0-native-fb-a3abf5f2-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-c6c2a52a-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27107,10 +27107,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-a3abf5f2-20250519",
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-a3abf5f2-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27564,7 +27564,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-a3abf5f2-20250519";
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<b42dc5bbf9e64933d22a591a05be9631>>
|
||||
* @generated SignedSource<<e6051a8d652b0411db3e072779b526b3>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17105,14 +17105,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2018 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-a3abf5f2-20250519" !==
|
||||
"19.2.0-native-fb-c6c2a52a-20250519" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2018
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2018,
|
||||
"19.2.0-native-fb-a3abf5f2-20250519"
|
||||
"19.2.0-native-fb-c6c2a52a-20250519"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17134,10 +17134,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2539 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-a3abf5f2-20250519",
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-a3abf5f2-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2540 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17388,4 +17388,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-a3abf5f2-20250519";
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<0331168def93dd09cb4d863bceb6a862>>
|
||||
* @generated SignedSource<<193bb5c0d8528b5b757d7394ffc81971>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17819,14 +17819,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2121 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-a3abf5f2-20250519" !==
|
||||
"19.2.0-native-fb-c6c2a52a-20250519" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2121
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2121,
|
||||
"19.2.0-native-fb-a3abf5f2-20250519"
|
||||
"19.2.0-native-fb-c6c2a52a-20250519"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17848,10 +17848,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2128 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-a3abf5f2-20250519",
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-a3abf5f2-20250519",
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$313 = 0;
|
||||
@@ -18117,7 +18117,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-a3abf5f2-20250519";
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<646c23661817dca3fd04a435df2323a3>>
|
||||
* @generated SignedSource<<3cc4580b25ade0f759db7f672305948c>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -15658,10 +15658,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-a3abf5f2-20250519",
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-a3abf5f2-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15806,5 +15806,5 @@ __DEV__ &&
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-a3abf5f2-20250519";
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
})();
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<91545111ec70342f3abd4767196d900f>>
|
||||
* @generated SignedSource<<7728ee5dee052cd52869b82e9d0c631c>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -9895,10 +9895,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1447 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-a3abf5f2-20250519",
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-a3abf5f2-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1448 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -10034,4 +10034,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-a3abf5f2-20250519";
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<0bd1f0cad02b18dffe2bb4e286a410bd>>
|
||||
* @generated SignedSource<<6ba35969a2cfeaf56e31182fdcaa287e>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -10515,10 +10515,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1254 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-a3abf5f2-20250519",
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-a3abf5f2-20250519",
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$155 = 0;
|
||||
@@ -10669,4 +10669,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-a3abf5f2-20250519";
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<b6eea4ac2c4626e327be57212ec57cc0>>
|
||||
* @generated SignedSource<<c0b8057dab551e28d58e74a92cc940e4>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1411,7 +1411,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-a3abf5f2-20250519";
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<34ff9df73ffd8695992e59881f72ab61>>
|
||||
* @generated SignedSource<<b73a83cc94462e897f44ac5b45c1073b>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -586,4 +586,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-a3abf5f2-20250519";
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4dce48412385774fbf7fbac793bff99a>>
|
||||
* @generated SignedSource<<949ffcef1e5e29acdcface6d5d678072>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -590,7 +590,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-a3abf5f2-20250519";
|
||||
exports.version = "19.2.0-native-fb-c6c2a52a-20250519";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
a3abf5f2f835ad0c61e2325f5cbac2d1d9045517
|
||||
c6c2a52ad8fb1894b03a3bb618eb57e5deca5aa0
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<1a045301ccf700181a1c1f38908f2f2b>>
|
||||
* @generated SignedSource<<abcf1f19077e9c1138c0d5a568b193ec>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -17486,10 +17486,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-a3abf5f2-20250519",
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-a3abf5f2-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<e55aad7ce028bb560e48b6307c703acd>>
|
||||
* @generated SignedSource<<83dd8ced5c74bb41b49eaa50b055559d>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11202,10 +11202,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1257 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-a3abf5f2-20250519",
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-a3abf5f2-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1257.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<7ed56cfede68d200fa8cd22f94ec663d>>
|
||||
* @generated SignedSource<<3d94c295a76b7fe219163ce4853b985b>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11906,10 +11906,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1358 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-a3abf5f2-20250519",
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-a3abf5f2-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1358.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<7019bcf27237553a3cc943d94a4949cf>>
|
||||
* @generated SignedSource<<467d53e2c6a4cb25602fbdf8e2ce023d>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -17609,11 +17609,11 @@ __DEV__ &&
|
||||
shouldSuspendImpl = newShouldSuspendImpl;
|
||||
};
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-a3abf5f2-20250519" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-c6c2a52a-20250519" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-a3abf5f2-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-c6c2a52a-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -17639,10 +17639,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-a3abf5f2-20250519",
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-a3abf5f2-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<0fc8c6ef672064f84e32ba16cd2227a1>>
|
||||
* @generated SignedSource<<0e7282ba3b791d49c979637fa380732d>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11211,11 +11211,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-a3abf5f2-20250519" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-c6c2a52a-20250519" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-a3abf5f2-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-c6c2a52a-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11265,10 +11265,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1307 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-a3abf5f2-20250519",
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-a3abf5f2-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1307.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<2ad3ca6ea61ca2ef3de93ccfb9bd42d7>>
|
||||
* @generated SignedSource<<39215374a345471036070e8bffe24ab1>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11913,11 +11913,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-a3abf5f2-20250519" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-c6c2a52a-20250519" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-a3abf5f2-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-c6c2a52a-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11967,10 +11967,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1408 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-a3abf5f2-20250519",
|
||||
version: "19.2.0-native-fb-c6c2a52a-20250519",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-a3abf5f2-20250519"
|
||||
reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1408.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+2
-2
@@ -12,7 +12,7 @@
|
||||
* @lightSyntaxTransform
|
||||
* @preventMunge
|
||||
* @oncall react_core
|
||||
* @generated SignedSource<<482a9d0f7a91a38912f9260022eda396>>
|
||||
* @generated SignedSource<<2a67bfe7090199050e60f8887093044e>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -52872,7 +52872,7 @@ function visitFunctionExpression(errors, fn) {
|
||||
severity: ErrorSeverity.InvalidReact,
|
||||
reason: 'Hooks must be called at the top level in the body of a function component or custom hook, and may not be called within function expressions. See the Rules of Hooks (https://react.dev/warnings/invalid-hook-call-warning)',
|
||||
loc: callee.loc,
|
||||
description: `Cannot call ${hookKind} within a function component`,
|
||||
description: `Cannot call ${hookKind === 'Custom' ? 'hook' : hookKind} within a function expression`,
|
||||
suggestions: null,
|
||||
}));
|
||||
}
|
||||
|
||||
+2
-2
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
* @generated SignedSource<<4c0b264b1118012f42787d5abd5f3247>>
|
||||
* @generated SignedSource<<3b34cb41a5c91ae5bd7bb1da46d2b26e>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -52651,7 +52651,7 @@ function visitFunctionExpression(errors, fn) {
|
||||
severity: ErrorSeverity.InvalidReact,
|
||||
reason: 'Hooks must be called at the top level in the body of a function component or custom hook, and may not be called within function expressions. See the Rules of Hooks (https://react.dev/warnings/invalid-hook-call-warning)',
|
||||
loc: callee.loc,
|
||||
description: `Cannot call ${hookKind} within a function component`,
|
||||
description: `Cannot call ${hookKind === 'Custom' ? 'hook' : hookKind} within a function expression`,
|
||||
suggestions: null,
|
||||
}));
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "eslint-plugin-react-hooks",
|
||||
"description": "ESLint rules for React Hooks",
|
||||
"version": "0.0.0-experimental-a3abf5f2-20250519",
|
||||
"version": "0.0.0-experimental-c6c2a52a-20250519",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react.git",
|
||||
|
||||
Reference in New Issue
Block a user