svelte-dnd-action
svelte-dnd-action copied to clipboard
Rollback dnd action
Hello, I have several lists between which I can move objects via dnd. I save the individual shifts via a rest service. If something goes wrong with the save, what's the best way to roll back the shift? Is there a function for this or do I have to do this manually? Thanks for help
I think maybe you can save some sort of state locally and depending on your response from the API, change the items.