import { useQuery } from '@apollo/client';
      
      const { data, error, loading, refetch } = useQuery(graphqlQueryName);
      Javascript language logo

      useQuery without variable

      graphql
      apollo
      GraphQL and JavaScript

      Call useQuery without a variable

      Shortcut: graphql.query.novariable

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.