Skip to content

Commit 8e83d8c

Browse files
committed
[compiler][be] Refactor similar CallExpression and MethodCall effect handling (#32696)
Simplify InferReferenceEffect function signature matching logic for next PRs in stack --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32696). * #32698 * #32697 * __->__ #32696 * #32695 DiffTrain build for [45463ab](45463ab)
1 parent fbcf530 commit 8e83d8c

35 files changed

+277
-194
lines changed

compiled/eslint-plugin-react-hooks/index.js

Lines changed: 191 additions & 108 deletions
Large diffs are not rendered by default.

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4a9df08157f001c01b078d259748512211233dcf
1+
45463ab3ac3ed0e65dfdbbfd5e53a50a8384e909
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4a9df08157f001c01b078d259748512211233dcf
1+
45463ab3ac3ed0e65dfdbbfd5e53a50a8384e909

compiled/facebook-www/React-dev.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ __DEV__ &&
15371537
exports.useTransition = function () {
15381538
return resolveDispatcher().useTransition();
15391539
};
1540-
exports.version = "19.1.0-www-classic-4a9df081-20250323";
1540+
exports.version = "19.1.0-www-classic-45463ab3-20250323";
15411541
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15421542
"function" ===
15431543
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-dev.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ __DEV__ &&
15371537
exports.useTransition = function () {
15381538
return resolveDispatcher().useTransition();
15391539
};
1540-
exports.version = "19.1.0-www-modern-4a9df081-20250323";
1540+
exports.version = "19.1.0-www-modern-45463ab3-20250323";
15411541
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15421542
"function" ===
15431543
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-prod.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,4 +641,4 @@ exports.useSyncExternalStore = function (
641641
exports.useTransition = function () {
642642
return ReactSharedInternals.H.useTransition();
643643
};
644-
exports.version = "19.1.0-www-classic-4a9df081-20250323";
644+
exports.version = "19.1.0-www-classic-45463ab3-20250323";

compiled/facebook-www/React-prod.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,4 +641,4 @@ exports.useSyncExternalStore = function (
641641
exports.useTransition = function () {
642642
return ReactSharedInternals.H.useTransition();
643643
};
644-
exports.version = "19.1.0-www-modern-4a9df081-20250323";
644+
exports.version = "19.1.0-www-modern-45463ab3-20250323";

compiled/facebook-www/React-profiling.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ exports.useSyncExternalStore = function (
645645
exports.useTransition = function () {
646646
return ReactSharedInternals.H.useTransition();
647647
};
648-
exports.version = "19.1.0-www-classic-4a9df081-20250323";
648+
exports.version = "19.1.0-www-classic-45463ab3-20250323";
649649
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
650650
"function" ===
651651
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-profiling.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ exports.useSyncExternalStore = function (
645645
exports.useTransition = function () {
646646
return ReactSharedInternals.H.useTransition();
647647
};
648-
exports.version = "19.1.0-www-modern-4a9df081-20250323";
648+
exports.version = "19.1.0-www-modern-45463ab3-20250323";
649649
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
650650
"function" ===
651651
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.classic.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18483,10 +18483,10 @@ __DEV__ &&
1848318483
(function () {
1848418484
var internals = {
1848518485
bundleType: 1,
18486-
version: "19.1.0-www-classic-4a9df081-20250323",
18486+
version: "19.1.0-www-classic-45463ab3-20250323",
1848718487
rendererPackageName: "react-art",
1848818488
currentDispatcherRef: ReactSharedInternals,
18489-
reconcilerVersion: "19.1.0-www-classic-4a9df081-20250323"
18489+
reconcilerVersion: "19.1.0-www-classic-45463ab3-20250323"
1849018490
};
1849118491
internals.overrideHookState = overrideHookState;
1849218492
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18520,7 +18520,7 @@ __DEV__ &&
1852018520
exports.Shape = Shape;
1852118521
exports.Surface = Surface;
1852218522
exports.Text = Text;
18523-
exports.version = "19.1.0-www-classic-4a9df081-20250323";
18523+
exports.version = "19.1.0-www-classic-45463ab3-20250323";
1852418524
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1852518525
"function" ===
1852618526
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)