-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
[Bug]: AbortSignal won't get aborted if defer returned from loader #10772
Comments
This is expected behavior when using Internally, we cancel our listeners on the pending defer promises so when they eventually resolve/reject they are ignored by React Router. Can you elaborate a bit on your use case and maybe there's an alternate approach to do what you're trying to do? |
I use the |
Is there any way right now to use Suspense/Await and signals (coming from loader's |
Not at the moment, there is an internal |
What version of React Router are you using?
6.14.2
Steps to Reproduce
Expected Behavior
AbortSignal is aborted when I'm leaving Info page
Actual Behavior
Signal is not aborted
The text was updated successfully, but these errors were encountered: