codemirror-blocks icon indicating copy to clipboard operation
codemirror-blocks copied to clipboard

Explore dndkit over react-dnd

Open schanzer opened this issue 4 years ago • 3 comments

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.

schanzer avatar Mar 11 '21 05:03 schanzer

@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

ani-ali avatar Jan 21 '24 16:01 ani-ali

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!

schanzer avatar Jan 24 '24 23:01 schanzer

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

ani-ali avatar Jan 25 '24 06:01 ani-ali