Replies: 1 comment 2 replies
-
useDerivedValue should do the job instead no? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, currently I have a large computedValue object and I use the Selector function in Skia components to select the corresponding value. I'm trying to migrate to Reanimated 3 so that the animations are executed on the UI thread.
To do that, I use useDerivedValue instead of useComputedValue, but I can't find a proper way to map the object elements to Skia components. Is there any equivalent function to the Selector that works with Reanimated?
What would be the best way to achieve that?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions