useQueries slow and freeze browser with 2000 queries #9960
Unanswered
bilalbhojani24
asked this question in
General
Replies: 1 comment
-
|
https://stackblitz.com/edit/tanstack-query-tujlrb9g?file=src%2Findex.tsx&preset=node There is a slight delay when rendering 2k elements. Performance profile shows about 700ms of scripting time, some of it react rendering related. I think this is fine? There’s absolutely no delay for 1k elements, which is about what I would recommend for concurrent observers. When scaling, most time is spend doing https://tanstack.com/query/latest/docs/reference/timeoutManager |
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.
-
Problem
Reproduction Code
Behaviour observed
Questions for the Team
Note
I also observed something similar with ensureQueryData, fetchQuery and restoreQueries of persister.
Beta Was this translation helpful? Give feedback.
All reactions