You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to to use useTransition for some animation on deleting an item from a list, but I don't want animation when I paginate. If I wrap the items using <animated.li> without giving transition styles, there is a long delay (a second or so) when I paginate instead of instant re-render.
What's the best way to deal with this case? Thank you!
This discussion was converted from issue #1143 on March 18, 2021 17:25.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
🤓 Question
I want to to use useTransition for some animation on deleting an item from a list, but I don't want animation when I paginate. If I wrap the items using <animated.li> without giving transition styles, there is a long delay (a second or so) when I paginate instead of instant re-render.
What's the best way to deal with this case? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions