How can I invalidate/reset query using QueryClient ? #3260
Unanswered
WingsDevelopment
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@tmm This was converted from an issue, but never answered? Is there a way to invalidate a "group" of reads/simulate calls? There might be several places that depend on the current blockchain state, and e.g. I know for a fact that when a particular write succeeds, all those read/simulate calls are invalid now. I want to explicitly invalidate that group and force re-querying the blockchain. The other options are more crude, like |
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
-
Is there an existing issue for this?
Package Version
1.3.10
Current Behavior
I am trying to invalidate or reset query using scopeKey: 'somestring' in useContractRead
And in other component I am trying to
But it doesn't work. why? Am
Expected Behavior
To refetch data
Steps To Reproduce
No response
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions