useTransition with imported components isn't smooth - background shows and components appear suddenly #2304
Unanswered
aaronzshey asked this question in Support
Replies: 0 comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Based off of the basic
useTransitionexample, I wanted to adapt it to use an imported component instead ofanimated.div. However, it doesn't work - the components don't smoothly slide together, they disappear and reappear choppily.CodeSandbox link: https://codesandbox.io/p/github/aaronzshey/reactspring-sandbox/main
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions