Skip to content

Commit 4e4144e

Browse files
committed
react-hooks/rules-of-hooks: Improve support for do/while loops (#31720)
DiffTrain build for [7c4a7c9](7c4a7c9)
1 parent 0558177 commit 4e4144e

35 files changed

+98
-90
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3b597c0576977773910c77e075cc6d6308decb04
1+
7c4a7c9ddf2f1c8e223565af1256ea201ec0f303
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3b597c0576977773910c77e075cc6d6308decb04
1+
7c4a7c9ddf2f1c8e223565af1256ea201ec0f303

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1841,7 +1841,7 @@ __DEV__ &&
18411841
exports.useTransition = function () {
18421842
return resolveDispatcher().useTransition();
18431843
};
1844-
exports.version = "19.0.0-www-classic-3b597c05-20241210";
1844+
exports.version = "19.0.0-www-classic-7c4a7c9d-20241210";
18451845
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
18461846
"function" ===
18471847
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
@@ -1841,7 +1841,7 @@ __DEV__ &&
18411841
exports.useTransition = function () {
18421842
return resolveDispatcher().useTransition();
18431843
};
1844-
exports.version = "19.0.0-www-modern-3b597c05-20241210";
1844+
exports.version = "19.0.0-www-modern-7c4a7c9d-20241210";
18451845
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
18461846
"function" ===
18471847
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
@@ -634,4 +634,4 @@ exports.useSyncExternalStore = function (
634634
exports.useTransition = function () {
635635
return ReactSharedInternals.H.useTransition();
636636
};
637-
exports.version = "19.0.0-www-classic-3b597c05-20241210";
637+
exports.version = "19.0.0-www-classic-7c4a7c9d-20241210";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,4 +634,4 @@ exports.useSyncExternalStore = function (
634634
exports.useTransition = function () {
635635
return ReactSharedInternals.H.useTransition();
636636
};
637-
exports.version = "19.0.0-www-modern-3b597c05-20241210";
637+
exports.version = "19.0.0-www-modern-7c4a7c9d-20241210";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ exports.useSyncExternalStore = function (
638638
exports.useTransition = function () {
639639
return ReactSharedInternals.H.useTransition();
640640
};
641-
exports.version = "19.0.0-www-classic-3b597c05-20241210";
641+
exports.version = "19.0.0-www-classic-7c4a7c9d-20241210";
642642
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
643643
"function" ===
644644
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
@@ -638,7 +638,7 @@ exports.useSyncExternalStore = function (
638638
exports.useTransition = function () {
639639
return ReactSharedInternals.H.useTransition();
640640
};
641-
exports.version = "19.0.0-www-modern-3b597c05-20241210";
641+
exports.version = "19.0.0-www-modern-7c4a7c9d-20241210";
642642
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
643643
"function" ===
644644
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
@@ -17126,10 +17126,10 @@ __DEV__ &&
1712617126
(function () {
1712717127
var internals = {
1712817128
bundleType: 1,
17129-
version: "19.0.0-www-classic-3b597c05-20241210",
17129+
version: "19.0.0-www-classic-7c4a7c9d-20241210",
1713017130
rendererPackageName: "react-art",
1713117131
currentDispatcherRef: ReactSharedInternals,
17132-
reconcilerVersion: "19.0.0-www-classic-3b597c05-20241210"
17132+
reconcilerVersion: "19.0.0-www-classic-7c4a7c9d-20241210"
1713317133
};
1713417134
internals.overrideHookState = overrideHookState;
1713517135
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17163,7 +17163,7 @@ __DEV__ &&
1716317163
exports.Shape = Shape;
1716417164
exports.Surface = Surface;
1716517165
exports.Text = Text;
17166-
exports.version = "19.0.0-www-classic-3b597c05-20241210";
17166+
exports.version = "19.0.0-www-classic-7c4a7c9d-20241210";
1716717167
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1716817168
"function" ===
1716917169
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16889,10 +16889,10 @@ __DEV__ &&
1688916889
(function () {
1689016890
var internals = {
1689116891
bundleType: 1,
16892-
version: "19.0.0-www-modern-3b597c05-20241210",
16892+
version: "19.0.0-www-modern-7c4a7c9d-20241210",
1689316893
rendererPackageName: "react-art",
1689416894
currentDispatcherRef: ReactSharedInternals,
16895-
reconcilerVersion: "19.0.0-www-modern-3b597c05-20241210"
16895+
reconcilerVersion: "19.0.0-www-modern-7c4a7c9d-20241210"
1689616896
};
1689716897
internals.overrideHookState = overrideHookState;
1689816898
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16926,7 +16926,7 @@ __DEV__ &&
1692616926
exports.Shape = Shape;
1692716927
exports.Surface = Surface;
1692816928
exports.Text = Text;
16929-
exports.version = "19.0.0-www-modern-3b597c05-20241210";
16929+
exports.version = "19.0.0-www-modern-7c4a7c9d-20241210";
1693016930
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1693116931
"function" ===
1693216932
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)