Replies: 1 comment 1 reply
-
If you are using reanimated 3, you shouldn't use useValue from Skia but reanimated shared values directly: https://shopify.github.io/react-native-skia/docs/animations/reanimated Or you can remove the dependency from Reanimated you seem to be using for color interpolation only? Maybe if you can isolate the issue into a smaller code snippet we could look into it. |
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
-
@william-candillon is there any breaking changes on
LinearGradient
component ?I have a background component in one of my screens., that changes it's background colors depends on a tab index.
it was working on 0.1.172 with Reanimated 2 but, now with 0.1.178 and Reanimated 3 it's not working.
Previously it was working fine, but since i upgraded to v3 on reanimated and skia 178, i had to change
useSharedValueEffect
touseEffect
and now colors not shifting smoothly.My component looks like below
after that i followed your Wallet example
https://github.com/Shopify/react-native-skia/blob/main/example/src/Examples/Wallet/components/Cursor.tsx
and made some changes to test it out,
but this time LinearGradient component throws me this error
I dont know did i missed something on documentation
Beta Was this translation helpful? Give feedback.
All reactions