[Bug]: Redirect on loader causes action fetcher state to be stuck in 'loading' #11235
Labels
awaiting release
This issue has been fixed and will be released soon
bug
feat:router
pkg:react-router
What version of React Router are you using?
Tested on 6.21.3 and 7.1.3
Steps to Reproduce
/product/:id
/product/:id
and call the fetcher that deletes the resource.Example codesandbox with reproduction of the issue
Expected Behavior
The fetcher that calls the action should have a state of 'idle' when everything is completed.
Actual Behavior
The fetcher is stuck in a 'loading' state
The text was updated successfully, but these errors were encountered: