Sortable list component with react that should be easy to use 🎉🎉🎉
Using npm:
npm install react-easy-sortable --saveimport { SortableList, SortableItem } from 'react-easy-sortable' export default class SortableComponent { onSort (target, indexList) { // ... } render () { return ( <SortableList onSort={this.onSort.bind(this)}> <SortableItem> Your Components </SortableItem> { /* ... */ } </SortableList> ) } }Using Webpack or other module bunlder to pack it.