Skip to content

useTransition for routes #1191

Answered by sgneo
sgneo asked this question in Support
Discussion options

You must be logged in to vote

Update:
I've fixed the main issue by adding key to transition.
But one inconsistency still remains
On v8, When changing routes, the previous route is "A" and the new route is "B" for example.
on v8. When changing routes, the previous route changes as well so it looks like we travel from B to B.

v8:https://codesandbox.io/embed/jp1wr1867w
v9:https://codesandbox.io/s/focused-wiles-hy7kd?file=/src/index.js

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sgneo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant