New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refetchInterval not working #4584
Comments
provide a reproduction please |
Same issue here in React Native using 4.19.0. This query doesn't work: const { data } = useQuery(
['query-key'],
() => {
console.log("runQuery");
return 1;
},
{
refetchInterval: 1000,
}
); |
what does |
I tried to create a basic reproduction in expo snack: it works fine in the web view, but as soon as I try to create an ios view, I'm getting:
I don't know enough about react-native or expo snack to understand this error. Maybe someone else can take it from here? |
Thanks for the quick fix ;D |
Describe the bug
refetchInterval not working with 4.19.0, with 4.18.0 everything is fine
Your minimal, reproducible example
https://github.com/TanStack/query/issues/new
Steps to reproduce
Expected behavior
refetch every 200ms
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
iOS
Tanstack Query version
4.19.0
TypeScript version
3.8
Additional context
...
The text was updated successfully, but these errors were encountered: