i need rerender after removeQueries #1525
Unanswered
soheilhasanjani
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Use resetQueries instead. |
Beta Was this translation helpful? Give feedback.
2 replies
-
if you remove a query and trigger a re-render, the useQuery would have no data, thus go into loading state and try to fetch it. That is exactly what |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi . at the beginning ، components are rendering width data and react-query cache them . but when i use removeQueries , that component dont rerender . help me
Beta Was this translation helpful? Give feedback.
All reactions