ilyalesik/react-fetch-hook

Implementation for Graphql query ?

namviet3210 opened this issue · 0 comments

Hi there,

Is there any implementation of react-fetch-hook for GraphQL ?
For example, the typical GraphQL query:

const MY_QUERY_QUERY = gql`
  query MyQuery {
    auth_user {
      email
      first_name
      id
      is_active
      last_name
      last_login
      username
    }
  }
`;

How to implement this query ?
Thanks!