Describe the bug
I got an warning:
ReactNativeFiberHostComponent: Calling getNode() on the ref of an Animated component is no longer necessary. You can now directly use the ref instead. This method will be removed in a future release.
@Preeternal please, see this response. Reanimated should be of v1.
yarn add react-native-reanimated@1
https://github.com/computerjazz/react-native-draggable-flatlist/issues/244#issuecomment-777841894
Is their a way to use Reanimated version 2 without the above mentioned warning?
i have same issue with expo sdk 41. it updated Reanimated v2 and not downgradable.
Will this package support using reanimated v2 in the future?
Also interested in using with reanimated v2, we are using it and hermes on both platforms.
@Preeternal please, see this response. Reanimated should be of v1.
yarn add react-native-reanimated@1
I am using expo SDK 42 and this solved my problem. Thanks....
I am using expo SDK 42 too but still see the problem
Hello, I have the same and my project works with expo, I tried the different methods but I had errors 500. and so I came back to version 2 of reanimed, how can I set the warning with expo. it is urgent please
Hello, I have the same and my project works with expo, I tried the different methods but I had errors 500. and so I came back to version 2 of reanimed, how can I set the warning with expo. it is urgent please
The only way how you may handle this is to ignore this error.
// App.tsx
import { LogBox } from 'react-native';
LogBox.ignoreLogs([
'ReactNativeFiberHostComponent: Calling getNode() on the ref of an Animated component is no longer necessary. You can now directly use the ref instead. This method will be removed in a future release.',
]);
Exactly the same fix were added to the library in https://github.com/computerjazz/react-native-draggable-flatlist/pull/278/files
How do I go about it?
i begining to react-native, can you give me directive for solve problems.
How do I go about it?
i begining to react-native, can you give me directive for solve problems.
https://github.com/computerjazz/react-native-draggable-flatlist/issues/277#issuecomment-880616826
Yessss, Thank you so much, it works.
Most helpful comment
Is their a way to use Reanimated version 2 without the above mentioned warning?