Skip to content

Equivalent to SWR's mutate? #509

Answered by jxom
RichHorrocks asked this question in Q&A
Discussion options

You must be logged in to vote

Can you utilise refetch in the return values of useContractRead, and place that in your event listener?
https://wagmi.sh/docs/hooks/useContractRead#return-value

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RichHorrocks
Comment options

Answer selected by tmm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants