Stuck in fetching/loading state
Why is the status still fetching?
Why is the status still "fetching" and it doesn't want to fetch data?



8 Replies
conscious-sapphireOP•10mo ago
but when i clicked restore loading and then i clicked refetch everythings works fine
but it must fecth automaticly not with dev tools
like-gold•10mo ago
Maybe a timing issue? What does the withAuthorization method do? Can you try commenting it out amd see if the request is going out?
conscious-sapphireOP•10mo ago
same issue, 3 / 4 working

conscious-sapphireOP•10mo ago
@ksgn
like-gold•10mo ago
Can you see the Requests going out in the Devtools of the Browser (Network-Tab)?
conscious-sapphireOP•10mo ago
only this one



conscious-sapphireOP•10mo ago
@ksgn
xenogeneic-maroon•10mo ago
Why do you need the
staleTime
and gcTime
params.
Can you share code in stackblitz? I need to see what the withAuthorization
and itemModel.distinct
methods do.
itemModel
sounds like a direct ORM call which doens't normally work in client side code.