News for hackers. Stuff that matters.
Re:react-beautiful-dnd 10.0: faster, more powerful by alan_wade on Sunday November 11, 2018 @07:45PM (#18429765)
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?

Re:react-beautiful-dnd 10.0: faster, more powerful by augbog on Sunday November 11, 2018 @07:57PM (#18429824)
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.

Re:react-beautiful-dnd 10.0: faster, more powerful by albertgoeswoof on Sunday November 11, 2018 @07:51PM (#18429792)
Your first library has not been updated in 2 years, good luck using it.
Re:react-beautiful-dnd 10.0: faster, more powerful by ng12 on Sunday November 11, 2018 @08:05PM (#18429859)
React's backward-compatibility for client code is fantastic.
Re:react-beautiful-dnd 10.0: faster, more powerful by wild_preference on Sunday November 11, 2018 @08:19PM (#18429914)
I'd wonder more about polished UX. Drag and drop just seems like something that's quirky to get right, especially across mobile devices.
Re:react-beautiful-dnd 10.0: faster, more powerful by andy_ppp on Sunday November 11, 2018 @07:54PM (#18429808)
Haha! Maybe it’s bug free and complete?
Re:react-beautiful-dnd 10.0: faster, more powerful by lostctown on Sunday November 11, 2018 @08:14PM (#18429892)
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.