Replies: 1 comment 1 reply
-
After examining the source code a bit, I found that I can use these two functions. makeMutable and cancelAnimation. Is it safe to use these two instead of hooks? |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hello. I am working with the Reanimated package.
This is how we used to create animation states in older versions.
After the Reanimated 2 update, the animation state is created as follows.
My question is exactly can I create animation state without using hook useSharedValue() ?
I want to manage many animations by writing an external service, but creating a state with hook only is a big constraint.
Can't new Animated.Value() be done as before?
Beta Was this translation helpful? Give feedback.
All reactions