When revalidateOnFocus and dedupingInterval are used together #2327
Unanswered
aneequrrehman
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are scenarios when we want to ensure the request is revalidated upon focus regardless of whatever
dedupingInterval
was set. On the other hand, there are scenarios where we want to considerdedupingInterval
even when refocused.The latter is the default behavior of the library. Shouldn't there be a config setting to change this default bahavior?
Of course, we can always do that by manually triggering a revalidate call. Just was curious if I'm missing something.
Beta Was this translation helpful? Give feedback.
All reactions