<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Bastien Chevallier</title>
    <description>The latest articles on DEV Community by Bastien Chevallier (@bastorx).</description>
    <link>https://dev.to/bastorx</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F232700%2F1dfbdcdf-1057-4911-a2ef-8bd556a17f2e.jpeg</url>
      <title>DEV Community: Bastien Chevallier</title>
      <link>https://dev.to/bastorx</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bastorx"/>
    <language>en</language>
    <item>
      <title>Many ways to use Apollo</title>
      <dc:creator>Bastien Chevallier</dc:creator>
      <pubDate>Sat, 21 Sep 2019 15:15:05 +0000</pubDate>
      <link>https://dev.to/bastorx/many-ways-to-use-apollo-28l9</link>
      <guid>https://dev.to/bastorx/many-ways-to-use-apollo-28l9</guid>
      <description>&lt;p&gt;Apollo has established itself as the most widely used package to use GraphQL on the client side with React.&lt;/p&gt;

&lt;p&gt;In each version, the usage of Apollo has evolved considerably. There are several ways to use Apollo.&lt;/p&gt;

&lt;p&gt;Today separate between several packets:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a class="mentioned-user" href="https://dev.to/apollo"&gt;@apollo&lt;/a&gt;/react-hooks&lt;/li&gt;
&lt;li&gt;
&lt;a class="mentioned-user" href="https://dev.to/apollo"&gt;@apollo&lt;/a&gt;/react-components&lt;/li&gt;
&lt;li&gt;
&lt;a class="mentioned-user" href="https://dev.to/apollo"&gt;@apollo&lt;/a&gt;/react-hoc&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is sometimes disturbing to work on another project using Apollo differently.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;But keep calm&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmedia1.tenor.com%2Fimages%2F1e3359b1e4b32e4189fa442f92190f75%2Ftenor.gif%3Fitemid%3D14112646" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmedia1.tenor.com%2Fimages%2F1e3359b1e4b32e4189fa442f92190f75%2Ftenor.gif%3Fitemid%3D14112646" alt="Keep Calm"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Without going into details in this article. I created a GitHub project with 4 different ways to use Apollo :&lt;br&gt;
&lt;strong&gt;- &lt;a href="https://github.com/Bastorx/ManyWaysToUseApollo/" rel="noopener noreferrer"&gt;https://github.com/Bastorx/ManyWaysToUseApollo/&lt;/a&gt; -&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In the project, you would find a basic router, leading to 4 identical pages, all in a different way to use Apollo&lt;/p&gt;

&lt;p&gt;These are described in &lt;code&gt;/app/src/containers&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If you are interested, I invite you to discuss or contribute if you have experienced a different way of using Apollo&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Bastien Chevallier&lt;br&gt;
&lt;a href="https://bastienchevallier.com" rel="noopener noreferrer"&gt;https://bastienchevallier.com&lt;/a&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;PS: This was my first article, so if you have any constructive comments to improve me, feel free to&lt;/em&gt;&lt;/p&gt;

</description>
      <category>graphql</category>
      <category>react</category>
      <category>reactnative</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
