Install graphql-tag to Enable Syntax Highlighting For GraphQL Queries

Share this video with your friends

Send Tweet

In this lesson, we are going to install graphql-tag to enable syntax highlighting to our GraphQL query. graphql-tag parses your query and stores it as an AST. graphql-tag caches the parsed query, so it won't have to parse it multiple times.