Dependent queries in React Query
In some cases, you might need only to fire a query once a specific condition is met.
Some examples of this:
Wait for user input
Wait for the main query to return the user ID
We are still retrieving an ID from the storage
Wait for a search query
And...
h.daily-dev-tips.com3 min read