useQueries question #321
-
Hey! How I can implement something like this but with pinia-colada https://tanstack.com/query/latest/docs/framework/react/reference/useQueries#combine Thank you 🙏 |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Jul 5, 2025
Replies: 1 comment 6 replies
-
I have implement this only as custom fetching each id and then putting it in the queryCache myself. but is there any better way? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use defineQueryOptions with a fn and create a custom composable that gets the ids passed as parameters and loops to call use query
there are some edge cases for dynamic ids that can make it a bit more complicated