T
TanStack4y ago
conscious-sapphire

Refetch interval and stale time?

Is there a point to setting both the refetchInterval and the staleTime, or do those effectively accomplish the same end behavior?
1 Reply
stormy-gold
stormy-gold4y ago
They are not the same. Please read the docs about staleTime and caching. There is no refetch when staleTime elapses

Did you find this page helpful?