Why re-render after updating cache even with {refetch:false}? #2574
Answered
by
Albert-Gao
Albert-Gao
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
Albert-Gao
Jul 18, 2021
Replies: 1 comment
-
|
Ah, I see, it is because of the too-aggressive setup from react query, give that paginated-query a |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Albert-Gao
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Ah, I see, it is because of the too-aggressive setup from react query, give that paginated-query a
{ staleTime: 9000 }solved the problem