Skip to content

Query retries occur after component with useQuery hook is unmounted #4942

@tailerr

Description

@tailerr

Description
Query retries continue retrying even after component with useQuery is unmounted

How to reproduce

  1. open sandbox link
  2. open Network tab in dev tools
  3. find 404 errors
  4. press Unmount button
  5. see that component is no longer mounted, but retries are still working

Expected
Retry attempts should be stopped once component is unmounted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions