How to reorder the results of useSWRInfinite #1975
Unanswered
blackblvck
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The data acquired with useSWRInfinite needs to be reordered using react-beautiful-dnd, etc., or some of the data needs to be deleted, but it is not easy to rewrite the original data.
If you retrieve the next page after reordering or deleting, the reordered data will revert to the data before reordering.
Is there any way to fix this?
Beta Was this translation helpful? Give feedback.
All reactions