how to use useQuery to request many request #5013
Unanswered
vaynevayne
asked this question in
Q&A
Replies: 1 comment
-
Use dependent queries where the key array of the dependent query contains the results of the query it depends on. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
useQuery needs to write queryKey at the top level, but my request body is dynamically generated, it changes, and there will be a lot of requests, or even an indefinite number of requests. In this case, can't react-query be used?
Beta Was this translation helpful? Give feedback.
All reactions