[Flight] Encode enclosing line/column numbers and use it to align the fake function (#33136)

Stacked on #33135.

This encodes the line/column of the enclosing function as part of the
stack traces. When that information is available.

I adjusted the fake function code generation so that the beginning of
the arrow function aligns with these as much as possible.

This ensures that when the browser tries to look up the line/column of
the enclosing function, such as for getting the function name, it gets
the right one. If we can't get the enclosing line/column, then we encode
it at the beginning of the file. This is likely to get a miss in the
source map identifiers, which means that the function name gets
extracted from the runtime name instead which is better.

Another thing where this is used is the in the Performance Track.
Ideally that would be fixed by
https://issues.chromium.org/u/1/issues/415968771 but the enclosing
information is useful for other things like the function name resolution
anyway.

We can also use this for the "View source for this element" in React
DevTools.

DiffTrain build for [4a702865dd](https://github.com/facebook/react/commit/4a702865dd0c5849c1b454091560c3ef26121611)
This commit is contained in:
sebmarkbage
2025-05-07 09:49:02 -07:00
parent bd2fd378a8
commit 1264bca160
24 changed files with 87 additions and 87 deletions
+1 -1
View File
@@ -1 +1 @@
19.2.0-native-fb-0ff1d13b-20250507
19.2.0-native-fb-4a702865-20250507
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<5c4346d8860a0359461717b691edaa4d>>
* @generated SignedSource<<e3421c1b910601339cb6e1b7a4ebcbbc>>
*/
"use strict";
@@ -404,5 +404,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-0ff1d13b-20250507";
exports.version = "19.2.0-native-fb-4a702865-20250507";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<707166a381c50c506ff30be0d42243b8>>
* @generated SignedSource<<eec1e2fe40d9636c573721db2deaff83>>
*/
"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-0ff1d13b-20250507";
exports.version = "19.2.0-native-fb-4a702865-20250507";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<707166a381c50c506ff30be0d42243b8>>
* @generated SignedSource<<eec1e2fe40d9636c573721db2deaff83>>
*/
"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-0ff1d13b-20250507";
exports.version = "19.2.0-native-fb-4a702865-20250507";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<df89a3259c9efebae2ffafd98f677161>>
* @generated SignedSource<<00e844f86af1d5010341db0b6b2e2313>>
*/
/*
@@ -26951,11 +26951,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-0ff1d13b-20250507" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-4a702865-20250507" !== 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-0ff1d13b-20250507\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-native-fb-4a702865-20250507\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -26992,10 +26992,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-0ff1d13b-20250507",
version: "19.2.0-native-fb-4a702865-20250507",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ff1d13b-20250507"
reconcilerVersion: "19.2.0-native-fb-4a702865-20250507"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -27139,5 +27139,5 @@ __DEV__ &&
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-0ff1d13b-20250507";
exports.version = "19.2.0-native-fb-4a702865-20250507";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<56459ad96ebd03435efa0e36bff27239>>
* @generated SignedSource<<8c07e592447741b1345a345f9bdc0ffe>>
*/
/*
@@ -17040,14 +17040,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2009 = React.version;
if (
"19.2.0-native-fb-0ff1d13b-20250507" !==
"19.2.0-native-fb-4a702865-20250507" !==
isomorphicReactPackageVersion$jscomp$inline_2009
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2009,
"19.2.0-native-fb-0ff1d13b-20250507"
"19.2.0-native-fb-4a702865-20250507"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17069,10 +17069,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2528 = {
bundleType: 0,
version: "19.2.0-native-fb-0ff1d13b-20250507",
version: "19.2.0-native-fb-4a702865-20250507",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ff1d13b-20250507"
reconcilerVersion: "19.2.0-native-fb-4a702865-20250507"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2529 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17176,4 +17176,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-0ff1d13b-20250507";
exports.version = "19.2.0-native-fb-4a702865-20250507";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<af6b95394264ad1449a2ef174ca6ed5d>>
* @generated SignedSource<<5bd38ede9798f5981361d6ce89995d36>>
*/
/*
@@ -17750,14 +17750,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2112 = React.version;
if (
"19.2.0-native-fb-0ff1d13b-20250507" !==
"19.2.0-native-fb-4a702865-20250507" !==
isomorphicReactPackageVersion$jscomp$inline_2112
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2112,
"19.2.0-native-fb-0ff1d13b-20250507"
"19.2.0-native-fb-4a702865-20250507"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17779,10 +17779,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2119 = {
bundleType: 0,
version: "19.2.0-native-fb-0ff1d13b-20250507",
version: "19.2.0-native-fb-4a702865-20250507",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ff1d13b-20250507",
reconcilerVersion: "19.2.0-native-fb-4a702865-20250507",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$309 = 0;
@@ -17901,4 +17901,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-0ff1d13b-20250507";
exports.version = "19.2.0-native-fb-4a702865-20250507";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<bb5086906e4322d861d45b7a72edbd12>>
* @generated SignedSource<<2a1c4de642e83319a810ad1e1f5a2329>>
*/
/*
@@ -27012,11 +27012,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-0ff1d13b-20250507" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-4a702865-20250507" !== 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-0ff1d13b-20250507\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-native-fb-4a702865-20250507\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -27053,10 +27053,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-0ff1d13b-20250507",
version: "19.2.0-native-fb-4a702865-20250507",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ff1d13b-20250507"
reconcilerVersion: "19.2.0-native-fb-4a702865-20250507"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -27516,7 +27516,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-0ff1d13b-20250507";
exports.version = "19.2.0-native-fb-4a702865-20250507";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<a21934da56a82709f9b06f7612ffa22d>>
* @generated SignedSource<<8c2f3359ab9d558694e15b00f7762b3a>>
*/
/*
@@ -17051,14 +17051,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2010 = React.version;
if (
"19.2.0-native-fb-0ff1d13b-20250507" !==
"19.2.0-native-fb-4a702865-20250507" !==
isomorphicReactPackageVersion$jscomp$inline_2010
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2010,
"19.2.0-native-fb-0ff1d13b-20250507"
"19.2.0-native-fb-4a702865-20250507"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17080,10 +17080,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2531 = {
bundleType: 0,
version: "19.2.0-native-fb-0ff1d13b-20250507",
version: "19.2.0-native-fb-4a702865-20250507",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ff1d13b-20250507"
reconcilerVersion: "19.2.0-native-fb-4a702865-20250507"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2532 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17341,4 +17341,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-0ff1d13b-20250507";
exports.version = "19.2.0-native-fb-4a702865-20250507";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<1f7297c88a070b96c62fd5a6fb3a9c5a>>
* @generated SignedSource<<a6d7375b80550b7eed93adc80f4ee5a6>>
*/
/*
@@ -17765,14 +17765,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2113 = React.version;
if (
"19.2.0-native-fb-0ff1d13b-20250507" !==
"19.2.0-native-fb-4a702865-20250507" !==
isomorphicReactPackageVersion$jscomp$inline_2113
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2113,
"19.2.0-native-fb-0ff1d13b-20250507"
"19.2.0-native-fb-4a702865-20250507"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17794,10 +17794,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2120 = {
bundleType: 0,
version: "19.2.0-native-fb-0ff1d13b-20250507",
version: "19.2.0-native-fb-4a702865-20250507",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ff1d13b-20250507",
reconcilerVersion: "19.2.0-native-fb-4a702865-20250507",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$309 = 0;
@@ -18070,7 +18070,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-0ff1d13b-20250507";
exports.version = "19.2.0-native-fb-4a702865-20250507";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<f01ba72b0c720cedf4900eba3d2d127e>>
* @generated SignedSource<<cbae2904956aaca8a4913aef06108684>>
*/
"use strict";
@@ -15653,10 +15653,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-0ff1d13b-20250507",
version: "19.2.0-native-fb-4a702865-20250507",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ff1d13b-20250507"
reconcilerVersion: "19.2.0-native-fb-4a702865-20250507"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15801,5 +15801,5 @@ __DEV__ &&
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-0ff1d13b-20250507";
exports.version = "19.2.0-native-fb-4a702865-20250507";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<ecbba7098d43b243f982e0ae02cb1324>>
* @generated SignedSource<<a92f1144989551bd5eb808f173ed9e45>>
*/
"use strict";
@@ -9893,10 +9893,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1445 = {
bundleType: 0,
version: "19.2.0-native-fb-0ff1d13b-20250507",
version: "19.2.0-native-fb-4a702865-20250507",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ff1d13b-20250507"
reconcilerVersion: "19.2.0-native-fb-4a702865-20250507"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1446 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10032,4 +10032,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-0ff1d13b-20250507";
exports.version = "19.2.0-native-fb-4a702865-20250507";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<0714409745e67414b3069d3019c13eec>>
* @generated SignedSource<<4bf6ebb81db8784e4a3af14852dcd028>>
*/
"use strict";
@@ -10513,10 +10513,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1253 = {
bundleType: 0,
version: "19.2.0-native-fb-0ff1d13b-20250507",
version: "19.2.0-native-fb-4a702865-20250507",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ff1d13b-20250507",
reconcilerVersion: "19.2.0-native-fb-4a702865-20250507",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$155 = 0;
@@ -10667,4 +10667,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-0ff1d13b-20250507";
exports.version = "19.2.0-native-fb-4a702865-20250507";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<ffd9faafa5b79b11ba716a7c2efc63d8>>
* @generated SignedSource<<b3286bde41048a1a2b084214a27b907f>>
*/
"use strict";
@@ -1412,7 +1412,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-native-fb-0ff1d13b-20250507";
exports.version = "19.2.0-native-fb-4a702865-20250507";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<5b0a6ba3d1db4c25f48d9eb83192a433>>
* @generated SignedSource<<97089901613c0c0e4451c350f24b2c51>>
*/
"use strict";
@@ -587,4 +587,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-native-fb-0ff1d13b-20250507";
exports.version = "19.2.0-native-fb-4a702865-20250507";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<7ff1b0b76df04b574d9b6b7f43100ee6>>
* @generated SignedSource<<c70ddcaf4486cbec4ddb0f4d9c02c7e9>>
*/
"use strict";
@@ -591,7 +591,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-native-fb-0ff1d13b-20250507";
exports.version = "19.2.0-native-fb-4a702865-20250507";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1 +1 @@
0ff1d13b8055c801d8b9b6779958c09fd0dc63e0
4a702865dd0c5849c1b454091560c3ef26121611
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<edfc19c51c8cdd51f5f618775a6b5cf6>>
* @generated SignedSource<<525ec2a4fe4c9d091d49542f70d1c775>>
*/
"use strict";
@@ -17529,10 +17529,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-0ff1d13b-20250507",
version: "19.2.0-native-fb-4a702865-20250507",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ff1d13b-20250507"
reconcilerVersion: "19.2.0-native-fb-4a702865-20250507"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<d3a1ba924ed13a3a0165f4c9e30ca358>>
* @generated SignedSource<<650f824168c74a995f69dc64aaf88a23>>
*/
"use strict";
@@ -11240,10 +11240,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1254 = {
bundleType: 0,
version: "19.2.0-native-fb-0ff1d13b-20250507",
version: "19.2.0-native-fb-4a702865-20250507",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ff1d13b-20250507"
reconcilerVersion: "19.2.0-native-fb-4a702865-20250507"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1254.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<65bc904077c3195ae7f64ef5dba685fb>>
* @generated SignedSource<<2cde37a2299bda0c01344bc5abbad560>>
*/
"use strict";
@@ -11944,10 +11944,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1355 = {
bundleType: 0,
version: "19.2.0-native-fb-0ff1d13b-20250507",
version: "19.2.0-native-fb-4a702865-20250507",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ff1d13b-20250507"
reconcilerVersion: "19.2.0-native-fb-4a702865-20250507"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1355.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<b079c25adb6901f9ef6af2f13a154a99>>
* @generated SignedSource<<79101c8bc9b83a22c2fac7232ae3c80d>>
*/
"use strict";
@@ -17645,11 +17645,11 @@ __DEV__ &&
shouldSuspendImpl = newShouldSuspendImpl;
};
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-0ff1d13b-20250507" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-4a702865-20250507" !== 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-0ff1d13b-20250507\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-4a702865-20250507\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -17675,10 +17675,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-0ff1d13b-20250507",
version: "19.2.0-native-fb-4a702865-20250507",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ff1d13b-20250507"
reconcilerVersion: "19.2.0-native-fb-4a702865-20250507"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<e01ab954c11bd86f0f34c4967eb86a13>>
* @generated SignedSource<<197fee273499f36591a6fbcea51e502f>>
*/
"use strict";
@@ -11250,11 +11250,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-0ff1d13b-20250507" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-4a702865-20250507" !== 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-0ff1d13b-20250507\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-4a702865-20250507\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11303,10 +11303,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1305 = {
bundleType: 0,
version: "19.2.0-native-fb-0ff1d13b-20250507",
version: "19.2.0-native-fb-4a702865-20250507",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ff1d13b-20250507"
reconcilerVersion: "19.2.0-native-fb-4a702865-20250507"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1305.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<0a8f2b1a35644dd70f51c9a2378b6361>>
* @generated SignedSource<<44801ce310c5e8308b0460f393bfbc9f>>
*/
"use strict";
@@ -11952,11 +11952,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-0ff1d13b-20250507" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-4a702865-20250507" !== 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-0ff1d13b-20250507\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-4a702865-20250507\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -12005,10 +12005,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1406 = {
bundleType: 0,
version: "19.2.0-native-fb-0ff1d13b-20250507",
version: "19.2.0-native-fb-4a702865-20250507",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ff1d13b-20250507"
reconcilerVersion: "19.2.0-native-fb-4a702865-20250507"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1406.rendererConfig = extraDevToolsConfig);
@@ -1,7 +1,7 @@
{
"name": "eslint-plugin-react-hooks",
"description": "ESLint rules for React Hooks",
"version": "0.0.0-experimental-0ff1d13b-20250507",
"version": "0.0.0-experimental-4a702865-20250507",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",