You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm creating a component that fetches images using ForesightJS for predictive prefetching. The component displays all query states in the button for testing purposes.
The Issue
All TanStack Query properties update correctly (isFetching, isRefetching, etc.) except isStale, which never changes from false even after the staleTime period has elapsed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
What I'm Building
I'm creating a component that fetches images using ForesightJS for predictive prefetching. The component displays all query states in the button for testing purposes.
The Issue
All TanStack Query properties update correctly (
isFetching
,isRefetching
, etc.) exceptisStale
, which never changes fromfalse
even after thestaleTime
period has elapsed.Code playground
codesandbox
Beta Was this translation helpful? Give feedback.
All reactions