TanStackT
TanStack17mo ago
4 replies
developed-pink

RQ Mutations and Query loading sync

Hi, i'm having the following case and i don't know how to solve it right with RQ.

I have a Query that include a key (example basket), and also Y posible Mutations that include the same basket key.

Then i have a button, that it should show a loading spinner whatever any of the Queries and Mutations that include the basket key.

What's the recommended way to handle this case?
Was this page helpful?