Skip to content

Commit 7a01de6

Browse files
committed
Follow through all the phases when an error happens during snapshotting (#32803)
This can happen for example if you have duplicate names in the "old" state. This errors the transition before the updateCallback is invoked so we haven't yet applied mutations etc. This runs through those phases after the error to get us back to a consistent state. DiffTrain build for [040f828](040f828)
1 parent 1fbbc5f commit 7a01de6

34 files changed

+96
-96
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
450f8df8865303f14be7ddd7c951f020115aa27c
1+
040f8286e97eab7aac23a89d5f59967be3bf8f3e
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
450f8df8865303f14be7ddd7c951f020115aa27c
1+
040f8286e97eab7aac23a89d5f59967be3bf8f3e

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1538,7 +1538,7 @@ __DEV__ &&
15381538
exports.useTransition = function () {
15391539
return resolveDispatcher().useTransition();
15401540
};
1541-
exports.version = "19.2.0-www-classic-450f8df8-20250401";
1541+
exports.version = "19.2.0-www-classic-040f8286-20250402";
15421542
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15431543
"function" ===
15441544
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
@@ -1538,7 +1538,7 @@ __DEV__ &&
15381538
exports.useTransition = function () {
15391539
return resolveDispatcher().useTransition();
15401540
};
1541-
exports.version = "19.2.0-www-modern-450f8df8-20250401";
1541+
exports.version = "19.2.0-www-modern-040f8286-20250402";
15421542
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15431543
"function" ===
15441544
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
@@ -636,4 +636,4 @@ exports.useSyncExternalStore = function (
636636
exports.useTransition = function () {
637637
return ReactSharedInternals.H.useTransition();
638638
};
639-
exports.version = "19.2.0-www-classic-450f8df8-20250401";
639+
exports.version = "19.2.0-www-classic-040f8286-20250402";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,4 +636,4 @@ exports.useSyncExternalStore = function (
636636
exports.useTransition = function () {
637637
return ReactSharedInternals.H.useTransition();
638638
};
639-
exports.version = "19.2.0-www-modern-450f8df8-20250401";
639+
exports.version = "19.2.0-www-modern-040f8286-20250402";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ exports.useSyncExternalStore = function (
640640
exports.useTransition = function () {
641641
return ReactSharedInternals.H.useTransition();
642642
};
643-
exports.version = "19.2.0-www-classic-450f8df8-20250401";
643+
exports.version = "19.2.0-www-classic-040f8286-20250402";
644644
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
645645
"function" ===
646646
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
@@ -640,7 +640,7 @@ exports.useSyncExternalStore = function (
640640
exports.useTransition = function () {
641641
return ReactSharedInternals.H.useTransition();
642642
};
643-
exports.version = "19.2.0-www-modern-450f8df8-20250401";
643+
exports.version = "19.2.0-www-modern-040f8286-20250402";
644644
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
645645
"function" ===
646646
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
@@ -18278,10 +18278,10 @@ __DEV__ &&
1827818278
(function () {
1827918279
var internals = {
1828018280
bundleType: 1,
18281-
version: "19.2.0-www-classic-450f8df8-20250401",
18281+
version: "19.2.0-www-classic-040f8286-20250402",
1828218282
rendererPackageName: "react-art",
1828318283
currentDispatcherRef: ReactSharedInternals,
18284-
reconcilerVersion: "19.2.0-www-classic-450f8df8-20250401"
18284+
reconcilerVersion: "19.2.0-www-classic-040f8286-20250402"
1828518285
};
1828618286
internals.overrideHookState = overrideHookState;
1828718287
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18315,7 +18315,7 @@ __DEV__ &&
1831518315
exports.Shape = Shape;
1831618316
exports.Surface = Surface;
1831718317
exports.Text = Text;
18318-
exports.version = "19.2.0-www-classic-450f8df8-20250401";
18318+
exports.version = "19.2.0-www-classic-040f8286-20250402";
1831918319
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1832018320
"function" ===
1832118321
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
@@ -18050,10 +18050,10 @@ __DEV__ &&
1805018050
(function () {
1805118051
var internals = {
1805218052
bundleType: 1,
18053-
version: "19.2.0-www-modern-450f8df8-20250401",
18053+
version: "19.2.0-www-modern-040f8286-20250402",
1805418054
rendererPackageName: "react-art",
1805518055
currentDispatcherRef: ReactSharedInternals,
18056-
reconcilerVersion: "19.2.0-www-modern-450f8df8-20250401"
18056+
reconcilerVersion: "19.2.0-www-modern-040f8286-20250402"
1805718057
};
1805818058
internals.overrideHookState = overrideHookState;
1805918059
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18087,7 +18087,7 @@ __DEV__ &&
1808718087
exports.Shape = Shape;
1808818088
exports.Surface = Surface;
1808918089
exports.Text = Text;
18090-
exports.version = "19.2.0-www-modern-450f8df8-20250401";
18090+
exports.version = "19.2.0-www-modern-040f8286-20250402";
1809118091
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1809218092
"function" ===
1809318093
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)