You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First thanks for the great library, I really enjoy working with apollo.
I currently encountered the following performance bottleneck in my app:
I use useQuery to fetch a list of elements and render them
After a click on one of the elements, there is a change in state of this element
Doing this causes a rerender of the whole list. The only workaround I came up with was a second query to fetch the individual list elements. But this this would initially cause querys to the server for each element of the list, something I would like to avoid.
Is there another way I am missing?
Best and thank you
Seb
The text was updated successfully, but these errors were encountered:
Hi @benjamn awesome, this sounds exactly what I was looking for. So for rendering the list I would use useQuery with fetchpolicy standby and in the specific elements I would use the useFragment hook.
Looking forward to v3.5, thanks for the great work and swift response.
Dear community,
First thanks for the great library, I really enjoy working with apollo.
I currently encountered the following performance bottleneck in my app:
Doing this causes a rerender of the whole list. The only workaround I came up with was a second query to fetch the individual list elements. But this this would initially cause querys to the server for each element of the list, something I would like to avoid.
Is there another way I am missing?
Best and thank you
Seb
The text was updated successfully, but these errors were encountered: