Replies: 2 comments 1 reply
-
Wouldn't returning a new object composed of both query's work? Something like this.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
It depends on your data - you can create a new object and merge those two; or if it's an array you can create a new one an concat them, or merge them... It's not really react-query specific, just javascript. Both queries will return |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
for example:
Beta Was this translation helpful? Give feedback.
All reactions