frontend-collective / react-sortable-tree

Drag-and-drop sortable component for nested data and hierarchies
https://frontend-collective.github.io/react-sortable-tree/
MIT License
4.9k stars 897 forks source link

Update react-virtualized dependency to 9.22.3 #916

Open gp123941 opened 2 years ago

gp123941 commented 2 years ago

Currently react-virtualized dependency is set for version ^9.21.2. (and this has a peer dependency on react v16) Is it possible to upgrade to latest version: ^9.22.3 so we can use it with react v17?

Thank you, George

nosferatu500 commented 2 years ago

I made a fork to solve my own tasks, but if you want, you can use it as an alternative: (For React 17)

https://www.npmjs.com/package/@nosferatu500/react-sortable-tree

yarn add @nosferatu500/react-sortable-tree

balovbohdan commented 2 years ago

Any updates for this issue, guys?

gnowland commented 2 years ago

Hey @wuweiweiwu or @adyz any chance you could bump the react-virtualized dependency version?

getting the following on install of https://www.npmjs.com/package/react-sortable-tree-patch-react-17:

npm WARN Could not resolve dependency:
npm WARN peer react@"^15.3.0 || ^16.0.0-alpha" from react-virtualized@9.22.3
npm WARN node_modules/react-virtualized
npm WARN   react-virtualized@"^9.21.2" from react-sortable-tree-patch-react-17@2.9.0
npm WARN   node_modules/react-sortable-tree-patch-react-17
marketsystems commented 1 year ago

rubbish when its 6 months later and still those warnings are there!

binarykitchen commented 1 year ago

Indeed. And no commits for a long time.

Guess we better drop it and pick a new React component. Any recommendations, which one - that is actually maintained - comes most close to this one?

marketsystems commented 1 year ago

Yeah quickly uninstalled the npm :D No idea what to use yet..im looking around though, I need something that probably is virtualized to handle a large dataset plus allows a form or something above to add select lists and autocomplete text filter etc (MUI datagrid would be great if the free one allowed multiple filters but the naff popup filtering modals are not my thing either need a separate box above!)