Skip to content
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

parent component useFetcher stucks loading, when unmounting sub component using another useFetcher #6458

Closed
1 task done
Reloadaxe opened this issue May 23, 2023 · 1 comment · Fixed by remix-run/react-router#10535
Labels
bug Something isn't working feat:routing

Comments

@Reloadaxe
Copy link

What version of Remix are you using?

1.15.0

Are all your remix dependencies & dev-dependencies using the same version?

  • Yes

Steps to Reproduce

I make a simple sandbox example here:

https://codesandbox.io/p/sandbox/relaxed-pine-cqtxe5?file=%2Fapp%2Froutes%2Fapp%2Findex.tsx%3A22%2C22

Expected Behavior

component A should be loading and then stop loading after clicking the 'submit' button

Actual Behavior

component A is loading indefinitly after clicking the 'submit' button

@brophdawg11
Copy link
Contributor

This is fixed by remix-run/react-router#10535 and should be available once 1.17.0 is released

@brophdawg11 brophdawg11 removed the awaiting release This issue has been fixed and will be released soon label Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feat:routing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants