-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
[Bug]: Redirect on loader causes action fetcher state to be stuck in 'loading' #11235
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
Comments
Here's another reproduction that I think is the same issue in Remix: https://stackblitz.com/edit/remix-run-remix-gslrhe |
Ran into this as well. I found a workaround using |
Same issue. I use |
Resolved by #12873 and will be available in the next release. Thanks for the contribution @gatzjames! 🙌 |
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
Uh oh!
There was an error while loading. Please reload this page.
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: