Skip to content

Conversation

@bishwenduk029
Copy link
Contributor

This PR resolves the issue: #635.

instance => instance.config.refetchIntervalInBackground
instance =>
instance.config.refetchIntervalInBackground &&
instance.config.enabled
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This check needs to happen before the is document visible. If the query doesn’t have an enabled instance, then we should never even reach these other conditions.

@tannerlinsley tannerlinsley merged commit db5a51e into TanStack:master Jun 27, 2020
@tannerlinsley
Copy link
Member

🎉 This PR is included in version 2.4.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants