mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[compiler] Disambiguate between void, implicit, and explicit returns (#33989)
Adds a new property to ReturnTerminals to disambiguate whether it was
explicit, implicit (arrow function expressions), or void (where it was
omitted). I will use this property in the next PR adding a new
validation pass.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/33989).
* #34022
* #34002
* #34001
* #33990
* __->__ #33989
DiffTrain build for [5dd622eabe](https://github.com/facebook/react/commit/5dd622eabe38e01781b3699d0d81c4a16e302f09)
This commit is contained in:
@@ -1 +1 @@
|
||||
19.2.0-native-fb-19baee81-20250725
|
||||
19.2.0-native-fb-5dd622ea-20250728
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<9b270a16206ab7973619428561e2048c>>
|
||||
* @generated SignedSource<<372ad50ac9597572b2350a6558a3d195>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -404,5 +404,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-19baee81-20250725";
|
||||
exports.version = "19.2.0-native-fb-5dd622ea-20250728";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<d951c93a38f8e641db74db4320e12d45>>
|
||||
* @generated SignedSource<<6f7abd1f44c476c394df3bf31a349203>>
|
||||
*/
|
||||
|
||||
"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-19baee81-20250725";
|
||||
exports.version = "19.2.0-native-fb-5dd622ea-20250728";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<d951c93a38f8e641db74db4320e12d45>>
|
||||
* @generated SignedSource<<6f7abd1f44c476c394df3bf31a349203>>
|
||||
*/
|
||||
|
||||
"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-19baee81-20250725";
|
||||
exports.version = "19.2.0-native-fb-5dd622ea-20250728";
|
||||
|
||||
Vendored
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<071efcef088b318f0a3b3fbf6b2ce842>>
|
||||
* @generated SignedSource<<c865b89aea01dbb44a9912df49dff55b>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -29012,11 +29012,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-19baee81-20250725" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-5dd622ea-20250728" !== 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-19baee81-20250725\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-5dd622ea-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -29053,10 +29053,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-19baee81-20250725",
|
||||
version: "19.2.0-native-fb-5dd622ea-20250728",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-19baee81-20250725"
|
||||
reconcilerVersion: "19.2.0-native-fb-5dd622ea-20250728"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -29194,5 +29194,5 @@ __DEV__ &&
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-19baee81-20250725";
|
||||
exports.version = "19.2.0-native-fb-5dd622ea-20250728";
|
||||
})();
|
||||
|
||||
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<<ca51ad8d30a4041fadd552b6d0ad0512>>
|
||||
* @generated SignedSource<<57a7d511de4d084f87aed2df0f15f35d>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17123,14 +17123,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2004 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-19baee81-20250725" !==
|
||||
"19.2.0-native-fb-5dd622ea-20250728" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2004
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2004,
|
||||
"19.2.0-native-fb-19baee81-20250725"
|
||||
"19.2.0-native-fb-5dd622ea-20250728"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17152,10 +17152,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2523 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-19baee81-20250725",
|
||||
version: "19.2.0-native-fb-5dd622ea-20250728",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-19baee81-20250725"
|
||||
reconcilerVersion: "19.2.0-native-fb-5dd622ea-20250728"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2524 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17253,4 +17253,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-19baee81-20250725";
|
||||
exports.version = "19.2.0-native-fb-5dd622ea-20250728";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<310d170216c04a7e942b2b78e12a6a7c>>
|
||||
* @generated SignedSource<<c2b7e3fd173636aa78869d11a393c72b>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -19081,14 +19081,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2244 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-19baee81-20250725" !==
|
||||
"19.2.0-native-fb-5dd622ea-20250728" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2244
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2244,
|
||||
"19.2.0-native-fb-19baee81-20250725"
|
||||
"19.2.0-native-fb-5dd622ea-20250728"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19110,10 +19110,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2251 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-19baee81-20250725",
|
||||
version: "19.2.0-native-fb-5dd622ea-20250728",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-19baee81-20250725",
|
||||
reconcilerVersion: "19.2.0-native-fb-5dd622ea-20250728",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$319 = 0;
|
||||
@@ -19226,4 +19226,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-19baee81-20250725";
|
||||
exports.version = "19.2.0-native-fb-5dd622ea-20250728";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<2be065e8d604917db31da29e33c71a6e>>
|
||||
* @generated SignedSource<<e6767d7d109d1bf0b28f6441ebe5d654>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -29068,11 +29068,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-19baee81-20250725" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-5dd622ea-20250728" !== 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-19baee81-20250725\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-5dd622ea-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -29109,10 +29109,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-19baee81-20250725",
|
||||
version: "19.2.0-native-fb-5dd622ea-20250728",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-19baee81-20250725"
|
||||
reconcilerVersion: "19.2.0-native-fb-5dd622ea-20250728"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -29566,7 +29566,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-19baee81-20250725";
|
||||
exports.version = "19.2.0-native-fb-5dd622ea-20250728";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<c01c0236135eae0760887c74c072580e>>
|
||||
* @generated SignedSource<<f0e2d0bee750206a8cec7e4c27dfeb19>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17134,14 +17134,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2005 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-19baee81-20250725" !==
|
||||
"19.2.0-native-fb-5dd622ea-20250728" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2005
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2005,
|
||||
"19.2.0-native-fb-19baee81-20250725"
|
||||
"19.2.0-native-fb-5dd622ea-20250728"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17163,10 +17163,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2526 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-19baee81-20250725",
|
||||
version: "19.2.0-native-fb-5dd622ea-20250728",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-19baee81-20250725"
|
||||
reconcilerVersion: "19.2.0-native-fb-5dd622ea-20250728"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2527 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17417,4 +17417,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-19baee81-20250725";
|
||||
exports.version = "19.2.0-native-fb-5dd622ea-20250728";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<2c7cd821b9a543e926497c6369f739ba>>
|
||||
* @generated SignedSource<<02aea01de73ed361f83e54bf0c7193f7>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -19096,14 +19096,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2245 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-19baee81-20250725" !==
|
||||
"19.2.0-native-fb-5dd622ea-20250728" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2245
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2245,
|
||||
"19.2.0-native-fb-19baee81-20250725"
|
||||
"19.2.0-native-fb-5dd622ea-20250728"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19125,10 +19125,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2252 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-19baee81-20250725",
|
||||
version: "19.2.0-native-fb-5dd622ea-20250728",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-19baee81-20250725",
|
||||
reconcilerVersion: "19.2.0-native-fb-5dd622ea-20250728",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$319 = 0;
|
||||
@@ -19394,7 +19394,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-19baee81-20250725";
|
||||
exports.version = "19.2.0-native-fb-5dd622ea-20250728";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<ced0958f0a832a7f6173ffc3b8d1c0cc>>
|
||||
* @generated SignedSource<<d4da7327938bdfab651af01762b0c921>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -15726,10 +15726,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-19baee81-20250725",
|
||||
version: "19.2.0-native-fb-5dd622ea-20250728",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-19baee81-20250725"
|
||||
reconcilerVersion: "19.2.0-native-fb-5dd622ea-20250728"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15874,5 +15874,5 @@ __DEV__ &&
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-19baee81-20250725";
|
||||
exports.version = "19.2.0-native-fb-5dd622ea-20250728";
|
||||
})();
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<89dbf6407be5dbe4a9d944cd71cf354b>>
|
||||
* @generated SignedSource<<061b9f8f3baee258abceb047f3560b10>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -9907,10 +9907,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1434 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-19baee81-20250725",
|
||||
version: "19.2.0-native-fb-5dd622ea-20250728",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-19baee81-20250725"
|
||||
reconcilerVersion: "19.2.0-native-fb-5dd622ea-20250728"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1435 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -10046,4 +10046,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-19baee81-20250725";
|
||||
exports.version = "19.2.0-native-fb-5dd622ea-20250728";
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<378299cf26c710d300c3a92f648705f2>>
|
||||
* @generated SignedSource<<06752b3007ab35e8c3f8358e450d3ba6>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -10527,10 +10527,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1241 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-19baee81-20250725",
|
||||
version: "19.2.0-native-fb-5dd622ea-20250728",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-19baee81-20250725",
|
||||
reconcilerVersion: "19.2.0-native-fb-5dd622ea-20250728",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$143 = 0;
|
||||
@@ -10681,4 +10681,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-19baee81-20250725";
|
||||
exports.version = "19.2.0-native-fb-5dd622ea-20250728";
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<72691c84ee092a67636c341cd434ae07>>
|
||||
* @generated SignedSource<<8a7f934762d202d6d1671571b0be0dcb>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1413,7 +1413,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-19baee81-20250725";
|
||||
exports.version = "19.2.0-native-fb-5dd622ea-20250728";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<9e592eb6e8c30689816f6a8d46911fa3>>
|
||||
* @generated SignedSource<<9fce1774cf9cd57da26df966ae6e4cfa>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -589,4 +589,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-19baee81-20250725";
|
||||
exports.version = "19.2.0-native-fb-5dd622ea-20250728";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<2c069fd0b6dedc7b38e79413f7be0409>>
|
||||
* @generated SignedSource<<f9cdc917b6322ba9dde14f0e28833806>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -593,7 +593,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-19baee81-20250725";
|
||||
exports.version = "19.2.0-native-fb-5dd622ea-20250728";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
19baee813cb08fc5971a3b301814faa6cd530ec8
|
||||
5dd622eabe38e01781b3699d0d81c4a16e302f09
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<6d5b2b9d562bb5512d185759f9c2f920>>
|
||||
* @generated SignedSource<<8dc2bbabb7bd80c3c5c9b55d71f15b58>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -19231,10 +19231,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-19baee81-20250725",
|
||||
version: "19.2.0-native-fb-5dd622ea-20250728",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-19baee81-20250725"
|
||||
reconcilerVersion: "19.2.0-native-fb-5dd622ea-20250728"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<9626dfb9c7f1b3ad2de353ed9ec81adb>>
|
||||
* @generated SignedSource<<6f3c66c3751485e4001d15b21fd38026>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11011,10 +11011,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1237 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-19baee81-20250725",
|
||||
version: "19.2.0-native-fb-5dd622ea-20250728",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-19baee81-20250725"
|
||||
reconcilerVersion: "19.2.0-native-fb-5dd622ea-20250728"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1237.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<3501c1a7f4bbb90dd3813a7fa01aeac1>>
|
||||
* @generated SignedSource<<bbc2395971fcf80ce5382487258aef58>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -12940,10 +12940,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1472 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-19baee81-20250725",
|
||||
version: "19.2.0-native-fb-5dd622ea-20250728",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-19baee81-20250725"
|
||||
reconcilerVersion: "19.2.0-native-fb-5dd622ea-20250728"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1472.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<de7399e9836a2ca5b9d523f1e28dfa58>>
|
||||
* @generated SignedSource<<399d178dc009683b90f6e6040dfbe254>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -19589,11 +19589,11 @@ __DEV__ &&
|
||||
shouldSuspendImpl = newShouldSuspendImpl;
|
||||
};
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-19baee81-20250725" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-5dd622ea-20250728" !== 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-19baee81-20250725\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-5dd622ea-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -19619,10 +19619,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-19baee81-20250725",
|
||||
version: "19.2.0-native-fb-5dd622ea-20250728",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-19baee81-20250725"
|
||||
reconcilerVersion: "19.2.0-native-fb-5dd622ea-20250728"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<0d14ac8284d1ed7d0dd86ac5f047de90>>
|
||||
* @generated SignedSource<<1cf87b1c4cd1bef241c82a78162350a2>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11237,11 +11237,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-19baee81-20250725" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-5dd622ea-20250728" !== 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-19baee81-20250725\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-5dd622ea-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11291,10 +11291,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1295 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-19baee81-20250725",
|
||||
version: "19.2.0-native-fb-5dd622ea-20250728",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-19baee81-20250725"
|
||||
reconcilerVersion: "19.2.0-native-fb-5dd622ea-20250728"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1295.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4af1e6f49aca8fb66415af2d14bf9d97>>
|
||||
* @generated SignedSource<<5c29496db7b0c6c44f541306574f0364>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -13155,11 +13155,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-19baee81-20250725" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-5dd622ea-20250728" !== 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-19baee81-20250725\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-5dd622ea-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -13209,10 +13209,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1530 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-19baee81-20250725",
|
||||
version: "19.2.0-native-fb-5dd622ea-20250728",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-19baee81-20250725"
|
||||
reconcilerVersion: "19.2.0-native-fb-5dd622ea-20250728"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1530.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+8
-2
@@ -12,7 +12,7 @@
|
||||
* @lightSyntaxTransform
|
||||
* @preventMunge
|
||||
* @oncall react_core
|
||||
* @generated SignedSource<<fe1270cdb826a01c40880b4459f1e2be>>
|
||||
* @generated SignedSource<<373cb73cae3f9425897ad918f744974b>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -18685,7 +18685,7 @@ function printTerminal(terminal) {
|
||||
break;
|
||||
}
|
||||
case 'return': {
|
||||
value = `[${terminal.id}] Return${terminal.value != null ? ' ' + printPlace(terminal.value) : ''}`;
|
||||
value = `[${terminal.id}] Return ${terminal.returnVariant}${terminal.value != null ? ' ' + printPlace(terminal.value) : ''}`;
|
||||
if (terminal.effects != null) {
|
||||
value += `\n ${terminal.effects.map(printAliasingEffect).join('\n ')}`;
|
||||
}
|
||||
@@ -20034,6 +20034,7 @@ function mapTerminalSuccessors(terminal, fn) {
|
||||
case 'return': {
|
||||
return {
|
||||
kind: 'return',
|
||||
returnVariant: terminal.returnVariant,
|
||||
loc: terminal.loc,
|
||||
value: terminal.value,
|
||||
id: makeInstructionId(0),
|
||||
@@ -22397,6 +22398,7 @@ function lower$1(func, env, bindings = null, capturedRefs = new Map()) {
|
||||
const fallthrough = builder.reserve('block');
|
||||
const terminal = {
|
||||
kind: 'return',
|
||||
returnVariant: 'Implicit',
|
||||
loc: GeneratedSource,
|
||||
value: lowerExpressionToTemporary(builder, body),
|
||||
id: makeInstructionId(0),
|
||||
@@ -22424,6 +22426,7 @@ function lower$1(func, env, bindings = null, capturedRefs = new Map()) {
|
||||
}
|
||||
builder.terminate({
|
||||
kind: 'return',
|
||||
returnVariant: 'Void',
|
||||
loc: GeneratedSource,
|
||||
value: lowerValueToTemporary(builder, {
|
||||
kind: 'Primitive',
|
||||
@@ -22491,6 +22494,7 @@ function lowerStatement(builder, stmtPath, label = null) {
|
||||
}
|
||||
const terminal = {
|
||||
kind: 'return',
|
||||
returnVariant: 'Explicit',
|
||||
loc: (_c = stmt.node.loc) !== null && _c !== void 0 ? _c : GeneratedSource,
|
||||
value,
|
||||
id: makeInstructionId(0),
|
||||
@@ -49457,6 +49461,7 @@ function emitSelectorFn(env, keys) {
|
||||
terminal: {
|
||||
id: makeInstructionId(0),
|
||||
kind: 'return',
|
||||
returnVariant: 'Explicit',
|
||||
loc: GeneratedSource,
|
||||
value: arrayInstr.lvalue,
|
||||
effects: null,
|
||||
@@ -49888,6 +49893,7 @@ function emitOutlinedFn(env, jsx, oldProps, globals) {
|
||||
terminal: {
|
||||
id: makeInstructionId(0),
|
||||
kind: 'return',
|
||||
returnVariant: 'Explicit',
|
||||
loc: GeneratedSource,
|
||||
value: instructions.at(-1).lvalue,
|
||||
effects: null,
|
||||
|
||||
+8
-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<<c88a6a770787194081d071fd5592ec9c>>
|
||||
* @generated SignedSource<<32946d736f39cdd856573bec0f77121a>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -18670,7 +18670,7 @@ function printTerminal(terminal) {
|
||||
break;
|
||||
}
|
||||
case 'return': {
|
||||
value = `[${terminal.id}] Return${terminal.value != null ? ' ' + printPlace(terminal.value) : ''}`;
|
||||
value = `[${terminal.id}] Return ${terminal.returnVariant}${terminal.value != null ? ' ' + printPlace(terminal.value) : ''}`;
|
||||
if (terminal.effects != null) {
|
||||
value += `\n ${terminal.effects.map(printAliasingEffect).join('\n ')}`;
|
||||
}
|
||||
@@ -20019,6 +20019,7 @@ function mapTerminalSuccessors(terminal, fn) {
|
||||
case 'return': {
|
||||
return {
|
||||
kind: 'return',
|
||||
returnVariant: terminal.returnVariant,
|
||||
loc: terminal.loc,
|
||||
value: terminal.value,
|
||||
id: makeInstructionId(0),
|
||||
@@ -22382,6 +22383,7 @@ function lower$1(func, env, bindings = null, capturedRefs = new Map()) {
|
||||
const fallthrough = builder.reserve('block');
|
||||
const terminal = {
|
||||
kind: 'return',
|
||||
returnVariant: 'Implicit',
|
||||
loc: GeneratedSource,
|
||||
value: lowerExpressionToTemporary(builder, body),
|
||||
id: makeInstructionId(0),
|
||||
@@ -22409,6 +22411,7 @@ function lower$1(func, env, bindings = null, capturedRefs = new Map()) {
|
||||
}
|
||||
builder.terminate({
|
||||
kind: 'return',
|
||||
returnVariant: 'Void',
|
||||
loc: GeneratedSource,
|
||||
value: lowerValueToTemporary(builder, {
|
||||
kind: 'Primitive',
|
||||
@@ -22476,6 +22479,7 @@ function lowerStatement(builder, stmtPath, label = null) {
|
||||
}
|
||||
const terminal = {
|
||||
kind: 'return',
|
||||
returnVariant: 'Explicit',
|
||||
loc: (_c = stmt.node.loc) !== null && _c !== void 0 ? _c : GeneratedSource,
|
||||
value,
|
||||
id: makeInstructionId(0),
|
||||
@@ -49236,6 +49240,7 @@ function emitSelectorFn(env, keys) {
|
||||
terminal: {
|
||||
id: makeInstructionId(0),
|
||||
kind: 'return',
|
||||
returnVariant: 'Explicit',
|
||||
loc: GeneratedSource,
|
||||
value: arrayInstr.lvalue,
|
||||
effects: null,
|
||||
@@ -49667,6 +49672,7 @@ function emitOutlinedFn(env, jsx, oldProps, globals) {
|
||||
terminal: {
|
||||
id: makeInstructionId(0),
|
||||
kind: 'return',
|
||||
returnVariant: 'Explicit',
|
||||
loc: GeneratedSource,
|
||||
value: instructions.at(-1).lvalue,
|
||||
effects: null,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "eslint-plugin-react-hooks",
|
||||
"description": "ESLint rules for React Hooks",
|
||||
"version": "0.0.0-experimental-19baee81-20250725",
|
||||
"version": "0.0.0-experimental-5dd622ea-20250728",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react.git",
|
||||
|
||||
Reference in New Issue
Block a user