0.3.1 • Published 8 years ago
react-sorting v0.3.1
Sorting
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"))
Why?
- 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
Future
- Mobile drag and sort
- More documentation
- Tests