How do I get the loading of one of the queries that are inside useQueries? #9461
Unanswered
Vittor-Emanoel
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I hope you're doing well.
I'm currently working with
useQueries
to perform multiple parallel requests based on a list of items. For each item, I generate a uniquequeryKey
and a correspondingqueryFn
.The challenge I'm facing is identifying which of these individual queries are currently loading, since
useQueries
returns an array and doesn't directly expose the loading state per identifier.Here's a simplified pseudocode example of how I'm structuring it:
Beta Was this translation helpful? Give feedback.
All reactions