Replies: 1 comment
-
I can take a look if you can reproduce this in a codesandbox. I’ve never used remove. I think calling remove will still notify active observers. |
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.
-
I have a page which is displaying the data of a "submission" obtained through two useQuery calls (Called here, bottom of my code stack is here). I also have a mutation button to delete the submission, which calls remove() on both queries, and redirects to /.
After deletion, I'm still seeing errors in the logs from these queries that are still trying to fetch. Even on "/", a different navigation screen. Is there something I need to do with the queryClient object to fully stop these queries from running again?
Thanks for the support.
Beta Was this translation helpful? Give feedback.
All reactions