wcandillon / react-native-redash

The React Native Reanimated and Gesture Handler Toolbelt
https://wcandillon.gitbook.io/redash/
MIT License
1.97k stars 117 forks source link

used react-native-redash@16.0.11 but still getting no exported member 'useValue' #448

Open Akashdeep312 opened 3 years ago

Akashdeep312 commented 3 years ago

Screen Shot 2021-05-27 at 8 12 39 PM

wcandillon commented 3 years ago

useValue is for reanimated v1, you should probably use redash v14 then.

On Thu, May 27, 2021 at 4:45 PM Rises @.***> wrote:

[image: Screen Shot 2021-05-27 at 8 12 39 PM] https://user-images.githubusercontent.com/48234644/119846888-2547ed80-bf28-11eb-8d56-8f8a03ce05e8.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wcandillon/react-native-redash/issues/448, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACKXVQJ3KBQHZGNBX336BTTPZLHPANCNFSM45UPDZTA .

Akashdeep312 commented 3 years ago

Thanks for quick reply

i'm also getting option to import it from reac-native-reanimated can i use that , i'm following your react native fashion series to learn animations

Auto import from 'react-native-reanimated' const useValue: (initialValue: T) => Animated.Value

MI-RohitMakwana commented 2 years ago

@wcandillon What is alternative of useValues and onGestureEvent in react-native-redash@17.0.0 ?

wcandillon commented 2 years ago

if you are still using reanimated v1, you should use version v14.2.2 of this library

hichemfantar commented 2 years ago

@wcandillon What is alternative of useValues and onGestureEvent in react-native-redash@17.0.0 ?

@wcandillon Would also like to know the alternative for onScrollEvent and useValue. Thank you.

I really wish there was a migration guide to show us how to change our existing code to accomodate the new release.

sstavroula commented 2 years ago

@wcandillon What should we use instead of useClock and useValues in version 16.0.9 please?

anckaertv commented 2 years ago

Hello, indeed a migration guide or explanation on equivalences of v1 functions would be awesome!

livehop commented 10 months ago

Hey did you guys figure out what to use for useClock / useValue / onScrollEvent ?

prox2 commented 1 month ago

Hey did you guys figure out what to use for useClock / useValue / onScrollEvent ?

Hello @wcandillon , It could be nice and appreciated if you could provide us the alternative ways in the new version. Thanks :)