computerjazz / react-native-draggable-flatlist

A drag-and-drop-enabled FlatList for React Native
MIT License
1.93k stars 403 forks source link

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) #501

Open srinivasansampath13 opened 1 year ago

srinivasansampath13 commented 1 year ago

Screenshot_20230905_195855 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).

arashlabafian commented 1 year ago

Same issue here.

jianxinzhoutiti commented 1 year ago

+1

dineshmsd051 commented 1 year ago

@srinivasansampath13 Working fine in both android and IOS simulator with react native project initialised with react native cli.

Platform & Dependencies

perqa commented 1 year ago

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

ArneV94 commented 1 year ago

Same issue.

AnushavanGhulyan-melon commented 11 months ago

Same for me. This package doesn't support Reanimated V3

perqa commented 11 months ago

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",
AnushavanGhulyan-melon commented 11 months ago

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

MihaMixFromGB commented 11 months ago

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.