react-sortable-hoc rows are not sort using arraymove

905 views Asked by At

I am trying to create a sortable list with the react.js library "react-sortable-hoc"

link: https://github.com/clauderic/react-sortable-hoc

I want to do sorting the rows in reorder but rows are not sorting using arraymove.

What should i do? Please guide me.

codesandox code link here:

https://codesandbox.io/s/lucid-shadow-3t0qv

Screenshot:

Form UI page

Form data

Hope this help you !

1

There are 1 answers

0
ttdavid On
 npm install [email protected]

Pleas try this package:

 import arrayMove from "array-move";