useSpring vs useTransition #2012
-
Hello, My question is when do I use one or the other. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think it depends what you want to do, you could use I normally start with |
Beta Was this translation helpful? Give feedback.
I think it depends what you want to do, you could use
useTransition
you could useuseSpring
, I don't think you get any benefit from removing the items from the DOM.I normally start with
useSpring
and useuseTransition
sparingly.