How to avoid queryFn to run in each component re-render #3674
Answered
by
TkDodo
doronbrikman
asked this question in
Q&A
-
Hi, I have this case here:
When Do we have a way to control it in other way? I would expect that if nothing had change related to the |
Beta Was this translation helpful? Give feedback.
Answered by
TkDodo
Jun 6, 2022
Replies: 1 comment 1 reply
-
A re-render alone wouldn't cause the queryFn to run. Please show the behavior in a codesandbox reproduction. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
doronbrikman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A re-render alone wouldn't cause the queryFn to run. Please show the behavior in a codesandbox reproduction.