react-sortable
react-sortable copied to clipboard
A sortable list component built with React
Let’s say we keep our state in a hook like `const [items, setItems] = useState([...])` and we have `onSortItems={newItems = setItems(newItems)}`. This does not trigger rendering because `items === newItems...
I'm trying the demo, http://webcloud.se/react-sortable/, in Firefox and there is an issue in that after sorting the list the web browser navigates to another page. For example, dragging "Hotpink" around...
Can you please include a typescript definition file?