Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Apollo SnippetsNew to Visual Studio Code? Get it now.
Apollo Snippets

Apollo Snippets

Estevam Souza

|
491 installs
| (0) | Free
| Sponsor
Basic snippets for Apollo
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

React Apollo Snippets

Version

Installation

  1. Open the extensions sidebar on Visual Studio Code
  2. Search for Apollo Snipets
  3. Click Install to install it.
  4. Click Reload to reload the your editor
  5. Enjoy
  6. If you have any issues, please open an issue on GitHub

Snippets

Imports

prefix snippet
iap import { ApolloProvider } from 'react-apollo';
iaq import { Query } from 'react-apollo';
iam import { Mutation } from 'react-apollo';
iaqm import { Query, Mutation } from 'react-apollo';
iac import { ApolloConsumer } from 'react-apollo';

Sponsorship

Please consider becoming a pro subscriber or purchasing a tutorial series to help support Level Up Tutorials

I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously, this takes time. You can use this service for free.

However, if you are using this project and are happy with it or just want to encourage me to continue creating stuff, there are a few ways you can do it:-

  • Giving proper credit when you use github-readme-stats on your readme, linking back to it :D
  • Starring and sharing the project :rocket: I'll probably buy a ~~coffee~~ tea. :tea:

GitHub Sponsor

Contribute

I'm happy to accept PRs for snippets that are wanted. I primarily made this for snippets that I personally use frequently and am probably missing some important ones.

Buy Me A Coffee Become a Patron

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft