redux-toolkit icon indicating copy to clipboard operation
redux-toolkit copied to clipboard

Query retries occur after component with useQuery hook is unmounted

Open tailerr opened this issue 7 months ago • 1 comments

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

tailerr avatar Apr 14 '25 09:04 tailerr