react-native-draggable-flatlist
react-native-draggable-flatlist copied to clipboard
I upgrade the react native version 0.63.0 to 0.71.6, but in draggable flatlist has some incompatible reanimated version (usevalue not found) issue)
Describe the bug
I upgrade the react native version 0.63.0 to 0.71.6, but in draggable flatlist has some incompatible reanimated version (usevalue not found) issue. how can i resolved it
Platform & Dependencies Please list any applicable dependencies in addition to those below (react-navigation etc).
- react-native-draggable-flatlist version: 3.0.4
- Platform: React Native / Mac OS
- React Native or Expo version: 0.71.6
- Reanimated version: 3.0.2
- React Native Gesture Handler version: 2.9.0
Same issue here.
+1
@srinivasansampath13 Working fine in both android and IOS simulator with react native project initialised with react native cli.
Platform & Dependencies
- react-native-draggable-flatlist version: ^4.0.1
- Platform: React Native / Mac OS (M1 chip Ventura 13.0 (22A380))
- React version: 18.2.0
- React Native version: 0.71.7
- Reanimated version: ^3.1.0
- React Native Gesture Handler version: ^2.9.0
React native new architecture was introduced in v0.68. If you go from version 0.63.0 to 0.71.6, you are switching from the old to the new architecture. I can't be sure this is the root cause of the issue, but it is very likely.
As it says on the React Native new-architecture web page: "If you previously installed a global react-native-cli package, please remove it as it may cause unexpected issues:"
npm uninstall -g react-native-cli @react-native-community/cli
And then follow the guide on https://reactnative.dev/docs/the-new-architecture/use-app-template
Same issue.
Same for me. This package doesn't support Reanimated V3
This combo works for me in Simulator:
"react": "18.2.0",
"react-native": "~0.72",
"react-native-draggable-flatlist": "^4.0.1",
"react-native-gesture-handler": "~2.12.0",
"react-native-reanimated": "~3.3.0",
Same for me. This package doesn't support Reanimated V3
Sorry. I was mistaken, my issue was not connected Reanimated V3, For me this was the problem, and with patch, it fixed
This combo works for me in Simulator:
"react": "18.2.0", "react-native": "~0.72", "react-native-draggable-flatlist": "^4.0.1", "react-native-gesture-handler": "~2.12.0", "react-native-reanimated": "~3.3.0",
Many thanks. This combo works fine not only on an emulator but also a phone (android 9, 13) for me.