simple useQuery is forever loading...
any idea? I had trpc react query working fine but now I am just using tanstack react query and can't seem to retrieve any data
using Nextjs,
"@tanstack/react-query": "^4.29.25",
"@tanstack/react-query": "^4.29.25",
6 Replies
passive-yellow•3y ago
I "think" its failing as your fetching function isn't a Promise?
fair-roseOP•3y ago
@PeteDuncanson does the same with
i was initially trying to fetch some data from rxdb but then now just trying to get it to fetch in general
passive-yellow•3y ago
Are you console statements getting written out?
ie is it actually being called
optimistic-gold•3y ago
isLoading is true when a query is disabledfair-roseOP•3y ago
@PeteDuncanson no its not being called
@TkDodo 🔮 why would the query be disabled? I am stuck : /
for the set time out one, it is never called
figured it out
fair-roseOP•3y ago
Stack Overflow
ReactQuery: queryFn passed to useQuery is never run, happens only o...
We make extensive use of ReactQuery on a fairly large React site, and it works well, but we've recently seen very strange behavior that happens only on Chrome, and only rarely. For every useQuery...