Skip to content

Fix: Non resolving promises created when query is not enabled#8629

Open
dev-rb wants to merge 1 commit intoTanStack:mainfrom
dev-rb:fix/pending-query-promise
Open

Fix: Non resolving promises created when query is not enabled#8629
dev-rb wants to merge 1 commit intoTanStack:mainfrom
dev-rb:fix/pending-query-promise

Conversation

@dev-rb
Copy link

@dev-rb dev-rb commented Feb 10, 2025

Fixes an issue where extra promises that would never resolve/reject were getting created leading to infinite tab loading issues. The browser tab was forever in a "loading" state even though the actual state was resolved but the promises were still in "pending" mode.

This was the quick fix I could make to fix the issue and have everything still work as intended but I'm not sure if it's entirely correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments