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
flat-fuchsiaOP•13mo ago
but when i clicked restore loading and then i clicked refetch everythings works fine
but it must fecth automaticly not with dev tools
rare-sapphire•13mo 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?
flat-fuchsiaOP•13mo ago
same issue, 3 / 4 working

flat-fuchsiaOP•13mo ago
@ksgn
rare-sapphire•13mo ago
Can you see the Requests going out in the Devtools of the Browser (Network-Tab)?
flat-fuchsiaOP•13mo ago
only this one



flat-fuchsiaOP•13mo ago
@ksgn
spiritual-aqua•13mo 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.