Skip to content

Subscription query self canceling in GraphiQL when navigating to another tab #1346

Answered by n1ru4l
knightfury16 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @knightfury16, currently GraphiQL Tabs do not support running in the background because the fetcher instance is shared across all GraphiQL tabs. Thus the subscription is terminated when you start executing a mutation or query in a different tab.

Today, there is no other solution aside from the workaround you mentioned, until it is implemented within GraphiQL. See the original pull request, where this was discussed before.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by n1ru4l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants