7 comments

[ 3.4 ms ] story [ 26.6 ms ] thread
Can someone help me compare this with https://github.com/bevacqua/react-dragula and https://github.com/react-dnd/react-dnd? Which one is better, what are the pros and cons?

Which one would you choose to build something like https://trello.com, or https://dynalist.io, or https://nulis.io?

Your first library has not been updated in 2 years, good luck using it.
Haha! Maybe it’s bug free and complete?
I just tried setting it up in the latest create-react-app. The example needed some modification but did work eventually. I wouldn't recommend it.
React's backward-compatibility for client code is fantastic.
I'd wonder more about polished UX. Drag and drop just seems like something that's quirky to get right, especially across mobile devices.
We currently use react-dnd at my company. Overall, I think the documentation could use improvement but it can get you pretty far.

However, one thing I will say is we haven't fully finished handling multi-drag-and-drop and I think it will be challenging. That isn't really a use case that is mentioned in the documentation whereas react-beautiful-dnd has documentation specifically about that use case.

I haven't really had a chance to try react-beautiful-dnd though but I think it's worth trying out if you have no dnd prior in your application.