Skip to content

When revalidateOnFocus and dedupingInterval are used together  #358

@aneequrrehman

Description

@aneequrrehman

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 consider dedupingInterval 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions