-
I want to refetch when used const {data} = useBalance({
address: '0x4557B18E779944BFE9d78A672452331C186a9f48',
query: {
refetchInterval: 5000
}
})
console.log('data', data) But Why? What else needs to be done? |
Beta Was this translation helpful? Give feedback.
Answered by
tmm
Sep 26, 2024
Replies: 1 comment
-
Check your browser devtools network tab. There should be a new request every five seconds, but the hook will only update if |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
riskers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check your browser devtools network tab. There should be a new request every five seconds, but the hook will only update if
data
changes (so you won't see theconsole.log
unless that happens).