Handling multiple queries based on user selection #3084
Unanswered
cubecleveland
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Sounds like a good candidate for useQueries to me. |
Beta Was this translation helpful? Give feedback.
2 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.
-
We are trying to integrate a multi select with react query to fetch data based on the multi selection of an item.
Each item will be fetched from a single api endpoint '../api/${itemId}
Can we pass the item selection state as a function key ? to run multiple queries ?
Shouold we use useQueries or useQuery ?
Any input appreciated.
Beta Was this translation helpful? Give feedback.
All reactions