mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[compiler] Don't show hint about ref-like naming if we infer another type (#34521)
Some components accept a union of a ref callback function or ref object.
In this case we may infer the type as a function due to the presence of
invoking the ref callback function. In that case, we currently report a
"Hint: name `fooRef` as "ref" or with a "-Ref" suffix..." even though
the variable is already named appropriately — the problem is that we
inferred a non-ref type. So here we check the type and don't report this
hint if we inferred another type.
DiffTrain build for [1bcdd224b1](https://github.com/facebook/react/commit/1bcdd224b10999138ef5aa1c1917b28d918e5421)
This commit is contained in:
@@ -1 +1 @@
|
||||
19.2.0-native-fb-84af9085-20250917
|
||||
19.2.0-native-fb-1bcdd224-20250918
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<a79fe694fabda54854d9a6e73b575436>>
|
||||
* @generated SignedSource<<f014b700572f8488acd71b588e312db5>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -404,5 +404,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
exports.version = "19.2.0-native-fb-1bcdd224-20250918";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<e947a773073a01a9f5df27222d40fb3e>>
|
||||
* @generated SignedSource<<9b1ad0f6d041c6ee12fae5576c9e5cf7>>
|
||||
*/
|
||||
|
||||
"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-84af9085-20250917";
|
||||
exports.version = "19.2.0-native-fb-1bcdd224-20250918";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<e947a773073a01a9f5df27222d40fb3e>>
|
||||
* @generated SignedSource<<9b1ad0f6d041c6ee12fae5576c9e5cf7>>
|
||||
*/
|
||||
|
||||
"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-84af9085-20250917";
|
||||
exports.version = "19.2.0-native-fb-1bcdd224-20250918";
|
||||
|
||||
Vendored
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<a634db09f5367a2642321fe84332040e>>
|
||||
* @generated SignedSource<<b858e47301a6956cff69e2439b4487c7>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -29866,11 +29866,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-84af9085-20250917" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-1bcdd224-20250918" !== 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-84af9085-20250917\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-1bcdd224-20250918\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -29907,10 +29907,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
version: "19.2.0-native-fb-1bcdd224-20250918",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-1bcdd224-20250918"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -30059,5 +30059,5 @@ __DEV__ &&
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
exports.version = "19.2.0-native-fb-1bcdd224-20250918";
|
||||
})();
|
||||
|
||||
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<<71f962667fe3c137038062ba1b874aca>>
|
||||
* @generated SignedSource<<c9d3b0d72b1c5e9a9b7e122736324d6b>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17525,14 +17525,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2072 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-84af9085-20250917" !==
|
||||
"19.2.0-native-fb-1bcdd224-20250918" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2072
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2072,
|
||||
"19.2.0-native-fb-84af9085-20250917"
|
||||
"19.2.0-native-fb-1bcdd224-20250918"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17554,10 +17554,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2645 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
version: "19.2.0-native-fb-1bcdd224-20250918",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-1bcdd224-20250918"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2646 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17664,4 +17664,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
exports.version = "19.2.0-native-fb-1bcdd224-20250918";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4d8b54648734cf48a105a64bc77c216b>>
|
||||
* @generated SignedSource<<ce5b1169fc996c7938fece0eb59ddb7e>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -19586,14 +19586,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2335 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-84af9085-20250917" !==
|
||||
"19.2.0-native-fb-1bcdd224-20250918" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2335
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2335,
|
||||
"19.2.0-native-fb-84af9085-20250917"
|
||||
"19.2.0-native-fb-1bcdd224-20250918"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19615,10 +19615,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2342 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
version: "19.2.0-native-fb-1bcdd224-20250918",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917",
|
||||
reconcilerVersion: "19.2.0-native-fb-1bcdd224-20250918",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$324 = 0;
|
||||
@@ -19741,4 +19741,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
exports.version = "19.2.0-native-fb-1bcdd224-20250918";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<b1b9407714c443468669d6d62be32e96>>
|
||||
* @generated SignedSource<<fe2504bb94458bef7a653624b717ef19>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -29922,11 +29922,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-84af9085-20250917" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-1bcdd224-20250918" !== 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-84af9085-20250917\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-1bcdd224-20250918\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -29963,10 +29963,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
version: "19.2.0-native-fb-1bcdd224-20250918",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-1bcdd224-20250918"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -30431,7 +30431,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
exports.version = "19.2.0-native-fb-1bcdd224-20250918";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<081dd2c2ea2cf0ce4131ff6ee3dad9c1>>
|
||||
* @generated SignedSource<<916db84b3d6b4be82d467ef7b164ee40>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17536,14 +17536,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2073 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-84af9085-20250917" !==
|
||||
"19.2.0-native-fb-1bcdd224-20250918" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2073
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2073,
|
||||
"19.2.0-native-fb-84af9085-20250917"
|
||||
"19.2.0-native-fb-1bcdd224-20250918"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17565,10 +17565,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2648 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
version: "19.2.0-native-fb-1bcdd224-20250918",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-1bcdd224-20250918"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2649 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17828,4 +17828,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
exports.version = "19.2.0-native-fb-1bcdd224-20250918";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<713f87fdf57e4b38d6137f107b8335ee>>
|
||||
* @generated SignedSource<<a310c89f66f69e97cffa195d27c077ac>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -19601,14 +19601,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2336 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-84af9085-20250917" !==
|
||||
"19.2.0-native-fb-1bcdd224-20250918" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2336
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2336,
|
||||
"19.2.0-native-fb-84af9085-20250917"
|
||||
"19.2.0-native-fb-1bcdd224-20250918"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19630,10 +19630,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2343 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
version: "19.2.0-native-fb-1bcdd224-20250918",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917",
|
||||
reconcilerVersion: "19.2.0-native-fb-1bcdd224-20250918",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$324 = 0;
|
||||
@@ -19909,7 +19909,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
exports.version = "19.2.0-native-fb-1bcdd224-20250918";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<b354c26f499484ddff17618380a6d59c>>
|
||||
* @generated SignedSource<<c24d2a1c0fb53222c52aaa45b8dfb6f3>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -15920,10 +15920,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
version: "19.2.0-native-fb-1bcdd224-20250918",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-1bcdd224-20250918"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -16068,5 +16068,5 @@ __DEV__ &&
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
exports.version = "19.2.0-native-fb-1bcdd224-20250918";
|
||||
})();
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<0c58dd6b29f426cee658ba644ff151cf>>
|
||||
* @generated SignedSource<<53861c6d11cbde647a94d56d2cd77c13>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -10052,10 +10052,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1482 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
version: "19.2.0-native-fb-1bcdd224-20250918",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-1bcdd224-20250918"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1483 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -10191,4 +10191,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
exports.version = "19.2.0-native-fb-1bcdd224-20250918";
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<485ce470ba634b6562276c0ed4f834ee>>
|
||||
* @generated SignedSource<<bec95996ae6b6aa5a68bd8e01a1c91c5>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -10673,10 +10673,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1273 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
version: "19.2.0-native-fb-1bcdd224-20250918",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917",
|
||||
reconcilerVersion: "19.2.0-native-fb-1bcdd224-20250918",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$145 = 0;
|
||||
@@ -10827,4 +10827,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
exports.version = "19.2.0-native-fb-1bcdd224-20250918";
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<f6e0c0e60de00ba529796f8bae09f5e6>>
|
||||
* @generated SignedSource<<e3585f269f0cb27a79e9666af15bf092>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1398,7 +1398,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
exports.version = "19.2.0-native-fb-1bcdd224-20250918";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<8bcfb7325e3c6a86c9ebac6b469b9f7c>>
|
||||
* @generated SignedSource<<8a4d2356b33eadcca79e87268336c75d>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -581,4 +581,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
exports.version = "19.2.0-native-fb-1bcdd224-20250918";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<7dee4397c4d9a10c9f88c8fbd9f676a4>>
|
||||
* @generated SignedSource<<186ed22614dd72e2b22e5255015bb948>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -585,7 +585,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
exports.version = "19.2.0-native-fb-1bcdd224-20250918";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
84af9085c11411e44cc5e5aee6cf00c02a78986e
|
||||
1bcdd224b10999138ef5aa1c1917b28d918e5421
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<392e23ae168cd5cb923ee3e4030b8030>>
|
||||
* @generated SignedSource<<85020cc8e1d362904cd64cbb0ae25722>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -19859,10 +19859,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
version: "19.2.0-native-fb-1bcdd224-20250918",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-1bcdd224-20250918"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<e2710608bf809f7c03193e66138d552c>>
|
||||
* @generated SignedSource<<daab5be1336176a568ce8c6e20779a69>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11218,10 +11218,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1294 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
version: "19.2.0-native-fb-1bcdd224-20250918",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-1bcdd224-20250918"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1294.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<c4f32af87b255d1fa340b599523f8845>>
|
||||
* @generated SignedSource<<7f80b3901b8e7a92e872cccb19191534>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -13218,10 +13218,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1550 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
version: "19.2.0-native-fb-1bcdd224-20250918",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-1bcdd224-20250918"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1550.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<74c984ef848373154e57a8f8ed44f885>>
|
||||
* @generated SignedSource<<d623a3288916f0679ba2de96a0fab26f>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -20139,11 +20139,11 @@ __DEV__ &&
|
||||
shouldSuspendImpl = newShouldSuspendImpl;
|
||||
};
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-84af9085-20250917" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-1bcdd224-20250918" !== 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-84af9085-20250917\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-1bcdd224-20250918\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -20169,10 +20169,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
version: "19.2.0-native-fb-1bcdd224-20250918",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-1bcdd224-20250918"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<e70e516bb9f453730171f2716091e356>>
|
||||
* @generated SignedSource<<6aaaa822ddefff02c7d9773f07b4c007>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11377,11 +11377,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-84af9085-20250917" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-1bcdd224-20250918" !== 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-84af9085-20250917\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-1bcdd224-20250918\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11431,10 +11431,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1325 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
version: "19.2.0-native-fb-1bcdd224-20250918",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-1bcdd224-20250918"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1325.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<623edd4a4f127b0537fa01b8eec0e7c7>>
|
||||
* @generated SignedSource<<1f4b3bf4fd38e4cd4016d8450fa7ea66>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -13367,11 +13367,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-84af9085-20250917" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-1bcdd224-20250918" !== 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-84af9085-20250917\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-1bcdd224-20250918\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -13421,10 +13421,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1581 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
version: "19.2.0-native-fb-1bcdd224-20250918",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-1bcdd224-20250918"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1581.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+4
-2
@@ -12,7 +12,7 @@
|
||||
* @lightSyntaxTransform
|
||||
* @preventMunge
|
||||
* @oncall react_core
|
||||
* @generated SignedSource<<1c24fa08b2dab423d92d058c24b11494>>
|
||||
* @generated SignedSource<<74966bae93f7a47b1d09a33c5c9a0c3c>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -41667,7 +41667,9 @@ function computeSignatureForInstruction(context, env, instr) {
|
||||
}
|
||||
case 'PropertyStore':
|
||||
case 'ComputedStore': {
|
||||
const mutationReason = value.kind === 'PropertyStore' && value.property === 'current'
|
||||
const mutationReason = value.kind === 'PropertyStore' &&
|
||||
value.property === 'current' &&
|
||||
value.object.identifier.type.kind === 'Type'
|
||||
? { kind: 'AssignCurrentProperty' }
|
||||
: null;
|
||||
effects.push({
|
||||
|
||||
+4
-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<<4e94780a3025f6e3cfddffbf0c6d761e>>
|
||||
* @generated SignedSource<<81d60690a5772c1e1ff53f3339f44aeb>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -41446,7 +41446,9 @@ function computeSignatureForInstruction(context, env, instr) {
|
||||
}
|
||||
case 'PropertyStore':
|
||||
case 'ComputedStore': {
|
||||
const mutationReason = value.kind === 'PropertyStore' && value.property === 'current'
|
||||
const mutationReason = value.kind === 'PropertyStore' &&
|
||||
value.property === 'current' &&
|
||||
value.object.identifier.type.kind === 'Type'
|
||||
? { kind: 'AssignCurrentProperty' }
|
||||
: null;
|
||||
effects.push({
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "eslint-plugin-react-hooks",
|
||||
"description": "ESLint rules for React Hooks",
|
||||
"version": "0.0.0-experimental-84af9085-20250917",
|
||||
"version": "0.0.0-experimental-1bcdd224-20250918",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react.git",
|
||||
|
||||
Reference in New Issue
Block a user