Replies: 1 comment 8 replies
-
Hi, you can just fetch a list of users cached as a whole (based on that ids array). |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I have an array of user IDs and I need to make a request for each of them using SWR.
I'm looking for an equivalent to the useQueries hook in React Query.
How do you achieve the same thing with SWR (each user should be cached individually)?
Beta Was this translation helpful? Give feedback.
All reactions