we get an error after mutating the list of iceCream scoops in /collection and then navigating to another route (e.g. /play)
Possible causes
I'm guessing it's because the mutated list of iceCream scoops in /collection scoop no-longer matches the list of iceCream rendered in the server.
Possible solutions
on dragging to area, send a POST request to remove the ice-cream from the database so we don't end up with a server-client mismatch. concern is maybe it will be too expensive to fire a network request on each drag action? also we have to disable page navigation on isSubmitting state (while the POST request is still being handled)
Issue
we get an error after mutating the list of iceCream scoops in /collection and then navigating to another route (e.g. /play)
Possible causes
I'm guessing it's because the mutated list of iceCream scoops in /collection scoop no-longer matches the list of iceCream rendered in the server.
Possible solutions