Using react spring to reorder the elements of a leaderboard #1221
Answered by tomdohnal
RobertJSmith asked this question in Support
-
| I'm having some issues implementing this functionality with react-spring. On render, I iterate through an array and render a row for each person. On user interaction, I'll reorder one person in the array to where the should be in the leaderboard this week. I do this one by one on click until everyone has been processed. Can anyone help? |
Beta Was this translation helpful? Give feedback.
Answered by tomdohnal Dec 3, 2020
Replies: 1 comment 5 replies
-
| Do you have a CodeSandbox of your current implementation? |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by RobertJSmith
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Do you have a CodeSandbox of your current implementation?