Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tailerr opened this issue Apr 14, 2025 · 0 comments
Open

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

tailerr opened this issue Apr 14, 2025 · 0 comments

Comments

@tailerr
Copy link

tailerr commented Apr 14, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant