Skip to content

Commit 51082b5

Browse files
committed
Remove TODOs -- we might still want these but cutting scope
1 parent 8667dde commit 51082b5

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/content/reference/react/ViewTransition.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2125,16 +2125,8 @@ React waits for any pending Navigation to finish to ensure that scroll restorati
21252125

21262126
If a `startTransition` is started from the legacy popstate event, such as during a "back"-navigation then it must finish synchronously to ensure scroll and form restoration works correctly. This is in conflict with running a View Transition animation. Therefore, React will skip animations from popstate. Therefore animations won't run for the back button. You can fix this by upgrading your router to use the Navigation API.
21272127

2128-
TODO: add the navigation-forward and navigation-back recommendation?
2129-
21302128
---
21312129

2132-
### Adjusting animations {/*adjusting-animations*/}
2133-
2134-
TODO: example of using the callbacks with:
2135-
- viewTransition.old.animate
2136-
- -viewTransition.new.animate
2137-
21382130
## Troubleshooting {/*troubleshooting*/}
21392131

21402132
### My `<ViewTransition>` is not activating {/*my-viewtransition-is-not-activating*/}

0 commit comments

Comments
 (0)