Replies: 2 comments 3 replies
-
I think we discussed this on discord. For posterity, the outcome was:
related: |
Beta Was this translation helpful? Give feedback.
2 replies
-
I am facing the same issue as well |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi,
I have a modal, which uses a specific query for an item.
Behind the modal, I have a list of items.
The scenario:
Inside the modal, I am updating the item, and closing the modal.
In the query onSuccess callback, I want to emit an event, that will trigger a refetch for the items list query.
The issue:
When the modal is closed, seems like the onSuccess observer is removed, and it is not triggered after the queryFn is done.
The expected behavior:
After the queryFn is done and returns the data, I expect onSuccess / onError callbacks to be triggered, even if the query is not in use anymore.
Beta Was this translation helpful? Give feedback.
All reactions