DEV Community

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

Posted on • Edited on

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

Top comments (0)