Replies: 3 comments 7 replies
-
Do you have a codesandbox you can share? |
Beta Was this translation helpful? Give feedback.
-
Thanks @zenoplex here's the revised codesandbox – https://codesandbox.io/s/react-router-animated-transitions-w-react-spring-not-working-forked-8py5jb?file=/src/index.js I believe this is what you're all trying to achieve? Let me know if there's something i've missed. |
Beta Was this translation helpful? Give feedback.
-
@joshuaellis 's answer works great, but it also forced to me to carry over my routes to the animating component, where previously I had them setup in a single file and was using |
Beta Was this translation helpful? Give feedback.
-
I having a hard time figuring out how to make these two things play nicely. With the removal of in React Router v6 it seems most of the examples I've seen are outdated. I'm trying to transition components (old component leaving new component coming in) but when I do this BOTH components update to the new component thats transitioning in.
Is anyone else having problems with React Router v6 and React Spring?
Beta Was this translation helpful? Give feedback.
All reactions