New mutation cancelling the previous one
I have a queue with requests it executes when it can. When I add 2 requests it seems to "cancel" the previous one; it doesn't execute its onSucces function (which is another request). What am I doing wrong?
My app is basically optimistically allowing to create "scenarios" until network_ids is available, then it gets executed.
my loop calling my hook to execute the mutation:
my hook:
3 Replies
other-emeraldā¢2y ago
Mastering Mutations in React Query
Learn all about the concept of performing side effects on the server with React Query.
ambitious-aquaOPā¢2y ago
thx!
fascinating-indigoā¢2y ago
i need to read your entire blog
š