Skip to content

Commit a7c0c5f

Browse files
authored
Update src/content/blog/2025/04/23/react-labs-view-transitions-activity-and-more.md
1 parent 18c996a commit a7c0c5f

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
@@ -5476,7 +5476,7 @@ export function Router({ children }) {
54765476

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

0 commit comments

Comments
 (0)