DEV Community

Cover image for Many ways to use Apollo
Bastien Chevallier
Bastien Chevallier

Posted on • Edited on

4 1

Many ways to use Apollo

Apollo has established itself as the most widely used package to use GraphQL on the client side with React.

In each version, the usage of Apollo has evolved considerably. There are several ways to use Apollo.

Today separate between several packets:

It is sometimes disturbing to work on another project using Apollo differently.

But keep calm

Keep Calm

Without going into details in this article. I created a GitHub project with 4 different ways to use Apollo :
- https://github.com/Bastorx/ManyWaysToUseApollo/ -

In the project, you would find a basic router, leading to 4 identical pages, all in a different way to use Apollo

These are described in /app/src/containers

If you are interested, I invite you to discuss or contribute if you have experienced a different way of using Apollo

Bastien Chevallier
https://bastienchevallier.com

PS: This was my first article, so if you have any constructive comments to improve me, feel free to

Sentry mobile image

Tired of users complaining about slow app loading and janky UI?

Improve performance with key strategies like TTID/TTFD & app start analysis.

Read the blog post

Top comments (0)

SurveyJS custom survey software

JavaScript Form Builder UI Component

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

Learn more