Skip to content

Commit 88ca7c7

Browse files
committed
[compiler] Enable validateNoVoidUseMemo in eslint & playground (#34022)
Enables `validateNoVoidUseMemo` by default only in eslint (it defaults to false otherwise) as well as the playground. DiffTrain build for [7ee7571](7ee7571)
1 parent 1abacc2 commit 88ca7c7

35 files changed

+87
-86
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52733,6 +52733,7 @@ const COMPILER_OPTIONS = {
5273352733
validateNoImpureFunctionsInRender: true,
5273452734
validateStaticComponents: true,
5273552735
validateNoFreezingKnownMutableFunctions: true,
52736+
validateNoVoidUseMemo: true,
5273652737
}),
5273752738
};
5273852739
const rule$1 = {

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6b22f31f1ac88cce1b38c67a5c97c7ab0e832823
1+
7ee7571212bc02354b852752a98b23bc90546fdf
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6b22f31f1ac88cce1b38c67a5c97c7ab0e832823
1+
7ee7571212bc02354b852752a98b23bc90546fdf

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,7 @@ __DEV__ &&
14341434
exports.useTransition = function () {
14351435
return resolveDispatcher().useTransition();
14361436
};
1437-
exports.version = "19.2.0-www-classic-6b22f31f-20250728";
1437+
exports.version = "19.2.0-www-classic-7ee75712-20250728";
14381438
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
14391439
"function" ===
14401440
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
@@ -1434,7 +1434,7 @@ __DEV__ &&
14341434
exports.useTransition = function () {
14351435
return resolveDispatcher().useTransition();
14361436
};
1437-
exports.version = "19.2.0-www-modern-6b22f31f-20250728";
1437+
exports.version = "19.2.0-www-modern-7ee75712-20250728";
14381438
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
14391439
"function" ===
14401440
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
@@ -610,4 +610,4 @@ exports.useSyncExternalStore = function (
610610
exports.useTransition = function () {
611611
return ReactSharedInternals.H.useTransition();
612612
};
613-
exports.version = "19.2.0-www-classic-6b22f31f-20250728";
613+
exports.version = "19.2.0-www-classic-7ee75712-20250728";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,4 +610,4 @@ exports.useSyncExternalStore = function (
610610
exports.useTransition = function () {
611611
return ReactSharedInternals.H.useTransition();
612612
};
613-
exports.version = "19.2.0-www-modern-6b22f31f-20250728";
613+
exports.version = "19.2.0-www-modern-7ee75712-20250728";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ exports.useSyncExternalStore = function (
614614
exports.useTransition = function () {
615615
return ReactSharedInternals.H.useTransition();
616616
};
617-
exports.version = "19.2.0-www-classic-6b22f31f-20250728";
617+
exports.version = "19.2.0-www-classic-7ee75712-20250728";
618618
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
619619
"function" ===
620620
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
@@ -614,7 +614,7 @@ exports.useSyncExternalStore = function (
614614
exports.useTransition = function () {
615615
return ReactSharedInternals.H.useTransition();
616616
};
617-
exports.version = "19.2.0-www-modern-6b22f31f-20250728";
617+
exports.version = "19.2.0-www-modern-7ee75712-20250728";
618618
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
619619
"function" ===
620620
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
@@ -19305,10 +19305,10 @@ __DEV__ &&
1930519305
(function () {
1930619306
var internals = {
1930719307
bundleType: 1,
19308-
version: "19.2.0-www-classic-6b22f31f-20250728",
19308+
version: "19.2.0-www-classic-7ee75712-20250728",
1930919309
rendererPackageName: "react-art",
1931019310
currentDispatcherRef: ReactSharedInternals,
19311-
reconcilerVersion: "19.2.0-www-classic-6b22f31f-20250728"
19311+
reconcilerVersion: "19.2.0-www-classic-7ee75712-20250728"
1931219312
};
1931319313
internals.overrideHookState = overrideHookState;
1931419314
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -19342,7 +19342,7 @@ __DEV__ &&
1934219342
exports.Shape = Shape;
1934319343
exports.Surface = Surface;
1934419344
exports.Text = Text;
19345-
exports.version = "19.2.0-www-classic-6b22f31f-20250728";
19345+
exports.version = "19.2.0-www-classic-7ee75712-20250728";
1934619346
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1934719347
"function" ===
1934819348
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)