You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bugfix: useDeferredValue loop during popstate transition (#27559)
During a popstate event, we attempt to render updates synchronously even
if they are transitions, to preserve scroll position if possible. We do
this by entangling the transition lane with the Sync lane.
However, if rendering the transition spawns additional transition
updates (e.g. a setState inside useEffect), there's no reason to render
those synchronously, too. We should use the normal transition behavior.
This fixes an issue where useDeferredValue during a popstate event would
spawn a transition update that was itself also synchronous.
DiffTrain build for commit 6db7f42.
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24878,7 +24878,7 @@ function createFiberRoot(
24878
24878
return root;
24879
24879
}
24880
24880
24881
-
var ReactVersion = "18.3.0-canary-90172d12e-20231020";
24881
+
var ReactVersion = "18.3.0-canary-6db7f4209-20231021";
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9022,7 +9022,7 @@ var devToolsConfig$jscomp$inline_1031 = {
9022
9022
throwError("TestRenderer does not support findFiberByHostInstance()");
9023
9023
},
9024
9024
bundleType: 0,
9025
-
version: "18.3.0-canary-90172d12e-20231020",
9025
+
version: "18.3.0-canary-6db7f4209-20231021",
9026
9026
rendererPackageName: "react-test-renderer"
9027
9027
};
9028
9028
varinternals$jscomp$inline_1224={
@@ -9053,7 +9053,7 @@ var internals$jscomp$inline_1224 = {
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9448,7 +9448,7 @@ var devToolsConfig$jscomp$inline_1073 = {
9448
9448
throwError("TestRenderer does not support findFiberByHostInstance()");
9449
9449
},
9450
9450
bundleType: 0,
9451
-
version: "18.3.0-canary-90172d12e-20231020",
9451
+
version: "18.3.0-canary-6db7f4209-20231021",
9452
9452
rendererPackageName: "react-test-renderer"
9453
9453
};
9454
9454
varinternals$jscomp$inline_1265={
@@ -9479,7 +9479,7 @@ var internals$jscomp$inline_1265 = {
0 commit comments