© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
riya
Suppose I have 5 list items TodoList.
Clicking on up, move item to up and clicking on down, move item down in ReactJS. How do I achieve this?
Girish Patil
Full-stack engineer
Hey riya,I have created a codesandbox that does this. Its always better to provide some example so that it helps others to answer easily and get to know your context.Anyways here is the link to codesandbox demo hope it helps
Diego Bernal
Front-End Engineer
Do you have a codesandbox with anything that you have tried?
Girish Patil
Full-stack engineer
Hey riya,
I have created a codesandbox that does this. Its always better to provide some example so that it helps others to answer easily and get to know your context.
Anyways here is the link to codesandbox demo hope it helps