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

Explore dndkit over react-dnd #339

Open
schanzer opened this issue Mar 11, 2021 · 3 comments
Open

Explore dndkit over react-dnd #339

schanzer opened this issue Mar 11, 2021 · 3 comments

Comments

@schanzer
Copy link
Member

schanzer commented Mar 11, 2021

react-DND is a massive library, which is vastly over-engineered for our purposes, and offers very poor accessibility support. This will take significant work with Sina to hack around, and consumes nearly 25% of our bundle size!

DNDkit offers good accessibility hooks, is more focused/limited (but not in ways that hurt us), and is 1/8th the size .

Both use the context consumer/provider model, so switching shouldn't be terrible. Totally worth exploring.

@Anishali2
Copy link

@schanzer is there anything i can do as working on dnd-kit because I have experience working on this library can you please provide the production link so I can understand your problem

@schanzer
Copy link
Member Author

Hi @Anishali2 - I don't have a production link for this right now, but I'd be very curious to see how you would go about swapping out react-dnd and replacing it!

@Anishali2
Copy link

will try your repo soon.
by the way Im working on a project with dnd-kit for a long time

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

2 participants