Replies: 1 comment
-
I'm not sure I understand your question, but if you don't want to run animations, you can set the global import { Globals } from 'react-spring'
Globals.assign({
skipAnimation: true,
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an app where I may have around 100 components using useSpring. I want to be able to turn animations on/off to help with performance.
If I set
immediate
to true, does the animation loop still run when callinguseSpring
what about when an animation reaches the to (finishes)?Beta Was this translation helpful? Give feedback.
All reactions