Get isStale using queryClient #6714
Unanswered
mattsputnikdigital
asked this question in
General
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Im struggling to find out how to use the queryClient to find out if the data is stale.
The reason I am using the queryClient is that I am using the react router loader and I want to be able to decide if to update the data if it is stale without having the component reshow the loading spinner.
Beta Was this translation helpful? Give feedback.
All reactions