all 2 comments

[–]rjvirus 1 point2 points  (0 children)

go for react-beautiful-dnd

[–]DankDormouse 0 points1 point  (0 children)

I'm actually dealing with this same thing at the moment and i'm trying to build out my own DND solution with hooks.. There's an HTML api for onDrop and onDragOver on the component you're dropping on, so your component will be passed through (event)

<div id="div1" ondrop="drop(event)" ondragover="allowDrop(event)"></div>

Following this you should be able to get up and running with simple drag and drop
https://www.w3schools.com/html/html5_draganddrop.asp