Skip to content

Missing setVariables network status #129

Description

@jjenzz

When setting new variables using useQuery, the networkStatus is always 1 (loading). This is not the case with the Query component which returns 2 (setVariables).

Example with useQuery: https://codesandbox.io/s/ox93pjm0w5
Example with Query component: https://codesandbox.io/s/3xp667vonm

It also resets data when querying an uncached query which is not desirable. See Query component example for expected behaviour which does not return to Loading... state when variables change.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions