gql-tag
An useful utilities, help to highlight、format、auto-compelete Graphql code in you Editor.
Installation
yarn add gql-tag
Usage
const QUERY_TODO = ` query Todos($id: ID) { todo(id: 5) { id title } }` const GET_TODO_GQL = gql` query Todos($id: ID) { todo(id: 5) { id title } }` // pass