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

fix(query-core): revert isServer check to check for window #4592

Merged
merged 1 commit into from Dec 3, 2022

Conversation

TkDodo
Copy link
Collaborator

@TkDodo TkDodo commented Dec 3, 2022

because document is not defined in react-native
additionally, we can check for Deno being available on the window to support the Deno runtime

fixes #4584

because document is not defined in react-native
additionally, we can check for `Deno` being available on the window to support the Deno runtime
@codesandbox-ci
Copy link

codesandbox-ci bot commented Dec 3, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 20232c1:

Sandbox Source
@tanstack/query-example-react-basic-typescript Configuration
@tanstack/query-example-solid-basic-typescript Configuration
@tanstack/query-example-vue-basic Configuration

@TkDodo TkDodo merged commit 6df7b6f into main Dec 3, 2022
@TkDodo TkDodo deleted the feature/4584 branch December 3, 2022 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

refetchInterval not working
1 participant