-
I have a somewhat expensive (read: large) API call which will pull in a list of entities. Each entity has an
Maybe I missed something from the docs/examples, but I cannot for the life of me figure out how to make this work. The best I can figure I would need two Is this the best way to do this or am I missing something? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@jcready - FWIW, I've been working on a similar problem, and this is what I came up with Not sure it's the best approach, though... feels like this should be built into React Query, but best I can tell it's not? |
Beta Was this translation helpful? Give feedback.
-
On mobile now but it's just a matter of how you setup your queryFn:
|
Beta Was this translation helpful? Give feedback.
On mobile now but it's just a matter of how you setup your queryFn: