📎 Webclip
Three awesome tools for GraphQL developer experience
The article argues that GraphQL and Apollo Client improve frontend developer experience by making API exploration, code editing, and browser debugging easier. It focuses on tools that help with everyday GraphQL work after you already know the basics.
Reading notes#
- GraphQL playgrounds let you run queries and mutations, inspect results, read schema docs, and use linting and autocomplete while testing an API.
- In VS Code, the Apollo GraphQL extension adds syntax highlighting, linting, autocomplete, and fragment navigation, and it can validate local GraphQL code against a remote schema when configured with
apollo.config.js. - In WebStorm, the JS GraphQL plugin uses a
.graphqlconfigfile, can fetch a schema from an endpoint through introspection, and offers suggestions and error highlighting for GraphQL queries. - The WebStorm plugin supports
.graphqlfiles but not.gqlfiles, and it does not stitch local GraphQL schema with the remote one. - Apollo DevTools for Chrome or Firefox lets Apollo Client users inspect a local GraphQL playground, view called queries and mutations, and check the Apollo cache.
