Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not able to use with react@18.0.2 #870

Open
ShubhamRavani opened this issue Feb 19, 2023 · 3 comments
Open

not able to use with react@18.0.2 #870

ShubhamRavani opened this issue Feb 19, 2023 · 3 comments

Comments

@ShubhamRavani
Copy link

I tried to install react-sortable-hoc but it's just giving me an error for react@18.0.2

@remitoffoli
Copy link

remitoffoli commented Mar 4, 2023

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. 😔

@remitoffoli
Copy link

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

@Mati365
Copy link

Mati365 commented Apr 5, 2023

@remitoffoli thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants