-
Hello, I have two demos here: One with v8 and the other with v9. v8: https://codesandbox.io/embed/jp1wr1867w Somehow in v9 we enter an infinite loop when changing a route. I would appreciate any help here, thanks! I'm not sure this is an issue so I posted it here. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Update: v8:https://codesandbox.io/embed/jp1wr1867w |
Beta Was this translation helpful? Give feedback.
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