Skip to content

Commit 51f059e

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

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

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

0 commit comments

Comments
 (0)