Skip to content

Commit 169a7b2

Browse files
authored
Update src/content/blog/2025/04/23/react-labs-view-transitions-activity-and-more.md
1 parent 51f059e commit 169a7b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/blog/2025/04/23/react-labs-view-transitions-activity-and-more.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8066,7 +8066,7 @@ export function Router({ children }) {
80668066

80678067
useEffect(() => {
80688068
function handlePopState() {
8069-
// This should not animate because restoration has to be synchronous.
8069+
// 因为恢复必须是同步的,所以应该没有动画。
80708070
// Even though it's a transition.
80718071
startTransition(() => {
80728072
setRouterState({

0 commit comments

Comments
 (0)