Pretty simple class to sort elements.
import Sorting from 'react-sorting'
import React from 'react'
import ReactDOM from 'react-dom'
ReactDOM.render(<ul>
<Sorting>
<li>one</li>
<li>two</li>
<li>three</li>
</Sorting>
</ul>, document.getElementById("main"))
- Doing React should be easy and fun :-)
- Drag and drop is easy with jQuery therefore it should be easy using React.
- react-dnd is super cool but there is a lot of boilterplate to use it, but it does more things
- Mobile drag and sort
- More documentation
- Tests