Replies: 1 comment
-
can you show a reproduction? useQueries will re-render the component every time one of the promises resolves, because we cannot know if you want to wait for all promises to resolve before showing something. It could be that data should be shown as early as possible. |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Even when I attempt to cache at every possible layer, using
useQueries
with hundreds of query options in an array (cached) is about 100x slower than having a singleuseQuery
that just runs the same promises in aPromise.all()
. This is after all those queries have resolved and should no longer change. Just re-rendering my component is dog slow when usinguseQueries
.Beta Was this translation helpful? Give feedback.
All reactions