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
deep-jadeā¢17mo ago
Mastering Mutations in React Query
Learn all about the concept of performing side effects on the server with React Query.
passive-yellowOPā¢17mo ago
thx!
adverse-sapphireā¢17mo ago
i need to read your entire blog
š