Open ShubhamRavani opened 1 year ago
Same problem here.
It took me a moment to notice but, as the readme points out, this lib is "no longer actively maintained".
Clauderic is now focusing on DnD-Kit. You can find the Sortable example here: https://docs.dndkit.com/presets/sortable 👍
Edit: I have to admit that after trying to use it in Typescript for 2 hours, the new one is overly complicated and the learning curve is steep due to unclear examples. 😔
For anyone ending up here like me today. I manage to get something working and create a generic component for vertical sorting list, with and easy-to-use component API. Enjoy: https://codesandbox.io/s/angry-hamilton-qixv4m?file=/src/App.tsx
@remitoffoli thanks!
I tried to install react-sortable-hoc but it's just giving me an error for react@18.0.2