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

Avoid making network requests when skip is true #6752

Merged
merged 1 commit into from
Aug 1, 2020
Merged

Commits on Aug 1, 2020

  1. Avoid making network requests when skip is true

    When skip is set to true but other updated options have been
    passed into `useQuery` (like updated variables), `useQuery` will
    still make a network request, even though it will skip the
    handling of the response. This commit makes sure `useQuery`
    doesn't make unnecessary `skip` network requests.
    
    Fixes #6670
    Fixes #6190
    Fixes #6572
    hwillson committed Aug 1, 2020
    Configuration menu
    Copy the full SHA
    c0ec90d View commit details
    Browse the repository at this point in the history