<?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: Pablo Obando</title>
    <description>The latest articles on DEV Community by Pablo Obando (@pabloobandodev).</description>
    <link>https://dev.to/pabloobandodev</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%2F359294%2F2adf5062-a26c-4945-bf90-5721a5b021b8.jpeg</url>
      <title>DEV Community: Pablo Obando</title>
      <link>https://dev.to/pabloobandodev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pabloobandodev"/>
    <language>en</language>
    <item>
      <title>Doing a personal website with next js and DatoCMS</title>
      <dc:creator>Pablo Obando</dc:creator>
      <pubDate>Mon, 27 Jul 2020 00:04:48 +0000</pubDate>
      <link>https://dev.to/pabloobandodev/doing-a-personal-website-with-next-js-and-datocms-45m7</link>
      <guid>https://dev.to/pabloobandodev/doing-a-personal-website-with-next-js-and-datocms-45m7</guid>
      <description>&lt;p&gt;Hi ✌️&lt;/p&gt;

&lt;p&gt;After doing my website and blog, I decided to do the open-source project!&lt;/p&gt;

&lt;p&gt;If you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You don't have a website&lt;/li&gt;
&lt;li&gt;You want to learn to deploy with Vercel&lt;/li&gt;
&lt;li&gt;You want to learn how to integrate DatoCMS with next&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is for you ❣️&lt;/p&gt;

&lt;p&gt;I decided to do 2 ways to take this tutorial&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Easy Implementation&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Configuration of external services&lt;/li&gt;
&lt;li&gt;Deploy&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;Explained Implementation&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Configuration of external services&lt;/li&gt;
&lt;li&gt;Structure explanation&lt;/li&gt;
&lt;li&gt;Code explanation&lt;/li&gt;
&lt;li&gt;Repository creation on Github&lt;/li&gt;
&lt;li&gt;Deploy&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;In this article, we will build on the easy implementation, but if you want to know more about the way explained or continue the tutorials on my website, go-ahead 🤓&lt;/p&gt;

&lt;p&gt;You can follow any of the 2 paths on my website, &lt;a href="https://pabloobando.dev/open-source" rel="noopener noreferrer"&gt;https://pabloobando.dev/open-source&lt;/a&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%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fpoui7dsjxpeo6rke14vy.png" 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%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fpoui7dsjxpeo6rke14vy.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;With nothing more to say, let's continue with the easy implementation 🚀&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;At the end of this tutorial, you will have your website and blog online&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Technologies with which the project is built&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Next Js&lt;/li&gt;
&lt;li&gt;TypeScript&lt;/li&gt;
&lt;li&gt;Css-in-Js: Emotion&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I assume that you know in&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Next Js&lt;/li&gt;
&lt;li&gt;React Js&lt;/li&gt;
&lt;li&gt;Git&lt;/li&gt;
&lt;li&gt;TypeScript&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  We will start by doing the following
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;git clone --single-branch --branch tutorial &lt;a href="https://github.com/pabloobandodev/personal-website.git" rel="noopener noreferrer"&gt;https://github.com/pabloobandodev/personal-website.git&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;cd personal-website &amp;amp;&amp;amp;  git branch -m master&lt;/li&gt;
&lt;li&gt;yarn install or npm install&lt;/li&gt;
&lt;li&gt;yarn dev or npm run dev&lt;/li&gt;
&lt;li&gt;open the project in your favorite code editor&lt;/li&gt;
&lt;li&gt;Go to &lt;a href="http://localhost:3000/" rel="noopener noreferrer"&gt;http://localhost:3000/&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;On your localhost, you should see this&lt;/em&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%2Fwww.datocms-assets.com%2F30813%2F1595806846-screen-shot-2020-07-26-at-17-39-09.png" 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%2Fwww.datocms-assets.com%2F30813%2F1595806846-screen-shot-2020-07-26-at-17-39-09.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Before touching the code, we need to configure two external services that we are going to use&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;DatoCMS: Is a cloud-based headless CMS designed to work with static websites, mobile apps, and server-side applications of any kind.&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  DatoCMS
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;Access to &lt;a href="https://dashboard.datocms.com/login" rel="noopener noreferrer"&gt;https://dashboard.datocms.com/login&lt;/a&gt;, create an account or sign in&lt;/li&gt;
&lt;li&gt;Create a new project
--&amp;gt; Start from "Blank Project"&lt;/li&gt;
&lt;li&gt;Access the project you just created&lt;/li&gt;
&lt;li&gt;Go the settings area&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;In the settings area&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;We will create the models (Is like the tables in a relational database)&lt;/p&gt;

&lt;p&gt;To do it, you must click the plus button &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%2Fwww.datocms-assets.com%2F30813%2F1594145630-screen-shot-2020-07-07-at-12-11-40.png" 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%2Fwww.datocms-assets.com%2F30813%2F1594145630-screen-shot-2020-07-07-at-12-11-40.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We are going to create a model&lt;br&gt;
Post: you must enable a draft/published system in additional settings!&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.datocms-assets.com%2F30813%2F1594080182-screen-shot-2020-07-06-at-17-59-27.png" 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%2Fwww.datocms-assets.com%2F30813%2F1594080182-screen-shot-2020-07-06-at-17-59-27.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now we will create the fields for the model (Is like the columns in a relational database)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fields of Post&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Title: is a text, single-line string&lt;/li&gt;
&lt;li&gt;Excerpt, is a text, single-line string&lt;/li&gt;
&lt;li&gt;Content, is a text, multiple-paragraph text&lt;/li&gt;
&lt;li&gt;Cover image, is a media, single asset&lt;/li&gt;
&lt;li&gt;Date, is a date and time, date&lt;/li&gt;
&lt;li&gt;Author, is a links, single link (validations, specified model, select Author model)&lt;/li&gt;
&lt;li&gt;Slug, is an SEO, slug (validations, reference field, select title)&lt;/li&gt;
&lt;/ol&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%2Fwww.datocms-assets.com%2F30813%2F1594081442-screen-shot-2020-07-06-at-18-23-30.png" 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%2Fwww.datocms-assets.com%2F30813%2F1594081442-screen-shot-2020-07-06-at-18-23-30.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We can now create the data that we will use on our site&lt;/p&gt;

&lt;p&gt;&lt;em&gt;In the content area&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Post: Here is where we will create our articles&lt;/p&gt;

&lt;p&gt;Done, now we will create our API key!&lt;/p&gt;

&lt;p&gt;Go to settings, select API tokens and click the plus sign to create a new one, you can call it whatever you want (I call it GraphQL Token)&lt;/p&gt;

&lt;p&gt;We are done with DatoCMS!&lt;/p&gt;

&lt;h4&gt;
  
  
  Go to the project in your favorite code editor
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;Change the name of the file .env-example to .env &lt;/li&gt;
&lt;li&gt;In the .env file add your keys and the email you authenticated&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;NEXT_DATOCMS_API_TOKEN="OUR DATOCMS API TOKEN, THE FIRST THAT WE CREATED"&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Go to lib/datocms.ts&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Delete the return of getAllPosts and getPost&lt;/li&gt;
&lt;li&gt;Discoment the code of getAllPosts and getPost&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Go to lib/constants.tsx&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Update that data with your information&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This is the file constants.tsx of my project!&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%2Fwww.datocms-assets.com%2F30813%2F1594160633-code.png" 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%2Fwww.datocms-assets.com%2F30813%2F1594160633-code.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here you can see the icons available that you can use to your social media, &lt;a href="https://react-icons.github.io/react-icons/" rel="noopener noreferrer"&gt;https://react-icons.github.io/react-icons/&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Update the profile image in public / images / profile.png with your icon&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Ready, to see your updated site&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go to your terminal&lt;/li&gt;
&lt;li&gt;Stop the local server&lt;/li&gt;
&lt;li&gt;Re-raise the local server&lt;/li&gt;
&lt;li&gt;Go to &lt;a href="http://localhost:3000/" rel="noopener noreferrer"&gt;http://localhost:3000/&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;Done, you should already see your site with your data&lt;/em&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Deploy
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;Go to GitHub a create a new repository&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Open your terminal, run the commands of the next one&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;git init&lt;/li&gt;
&lt;li&gt;git add .&lt;/li&gt;
&lt;li&gt;git commit -m "first release"&lt;/li&gt;
&lt;li&gt;git remote set-url origin &lt;/li&gt;
&lt;li&gt;git push -u origin master&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Access to &lt;a href="https://vercel.com/" rel="noopener noreferrer"&gt;https://vercel.com/&lt;/a&gt;, create an account or sign in&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Access to &lt;a href="https://vercel.com/import/git" rel="noopener noreferrer"&gt;https://vercel.com/import/git&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Import the repository that you created&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add the environment variables&lt;/p&gt;&lt;/li&gt;
&lt;/ol&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%2Fwww.datocms-assets.com%2F30813%2F1594089506-screen-shot-2020-07-06-at-20-37-19.png" 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%2Fwww.datocms-assets.com%2F30813%2F1594089506-screen-shot-2020-07-06-at-20-37-19.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;NEXT_DATOCMS_API_TOKEN="your_datocms_key"  &lt;/p&gt;

&lt;p&gt;Ready, we finished&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%2Fwww.datocms-assets.com%2F30813%2F1594089710-screen-shot-2020-07-06-at-20-41-27.png" 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%2Fwww.datocms-assets.com%2F30813%2F1594089710-screen-shot-2020-07-06-at-20-41-27.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I hope you liked this tutorial! ♥️&lt;/p&gt;

&lt;p&gt;You can follow me in Github, &lt;a href="https://github.com/pabloobandodev" rel="noopener noreferrer"&gt;https://github.com/pabloobandodev&lt;/a&gt; 🤟&lt;/p&gt;

</description>
      <category>react</category>
      <category>typescript</category>
      <category>javascript</category>
      <category>graphql</category>
    </item>
    <item>
      <title>Understanding React Context to Beginners or Lazy people 🥱</title>
      <dc:creator>Pablo Obando</dc:creator>
      <pubDate>Thu, 16 Apr 2020 00:58:11 +0000</pubDate>
      <link>https://dev.to/pabloobandodev/understanding-react-context-to-beginners-or-lazy-people-29jk</link>
      <guid>https://dev.to/pabloobandodev/understanding-react-context-to-beginners-or-lazy-people-29jk</guid>
      <description>&lt;h1&gt;
  
  
  Do you know what's &lt;em&gt;Context&lt;/em&gt; and how to use it with &lt;em&gt;Hooks&lt;/em&gt;?
&lt;/h1&gt;

&lt;p&gt;If you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Doesn't understand the React Docs yet (in some moment you'll do it)&lt;/li&gt;
&lt;li&gt;Only wants an explicit and easy tutorial 🦥 &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;You're in the correct place!&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;What will be the path we will follow?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;We're going to understand what is &lt;em&gt;Context&lt;/em&gt; and what problem does it solve, then we're going through code!&lt;/p&gt;

&lt;p&gt;Without further ado, let's do it 🏄‍♂️ &lt;/p&gt;

&lt;p&gt;In many applications, we have a &lt;strong&gt;state global&lt;/strong&gt; (data which we need to manipulate in deferents parts of the app 💾)&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Context&lt;/em&gt;, is a &lt;strong&gt;"state management"&lt;/strong&gt; which provides a way to pass data through the component tree without having to pass props down manually at every level. &lt;/p&gt;

&lt;h3&gt;
  
  
  Now, we will through the steps to implement Context in our Apps
&lt;/h3&gt;

&lt;h4&gt;
  
  
  1- Creating our &lt;em&gt;Context&lt;/em&gt;:
&lt;/h4&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%2Fres.cloudinary.com%2Fdcboyc8ye%2Fimage%2Fupload%2Fv1586981132%2Fzqylu3daii0viowz38nu.png" 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%2Fres.cloudinary.com%2Fdcboyc8ye%2Fimage%2Fupload%2Fv1586981132%2Fzqylu3daii0viowz38nu.png" alt="Code to create the Context Component"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  2- Subscribing our Components to the &lt;em&gt;Context&lt;/em&gt;:
&lt;/h4&gt;

&lt;p&gt;Every &lt;em&gt;Context&lt;/em&gt; comes with a &lt;em&gt;Provider&lt;/em&gt;, you need to wrap your components with the &lt;em&gt;Provider&lt;/em&gt; this will allows to the components subscribe to the &lt;em&gt;Context&lt;/em&gt; changes. &lt;/p&gt;

&lt;p&gt;The &lt;em&gt;Provider&lt;/em&gt; accepts a &lt;em&gt;value&lt;/em&gt; prop to be passed to consuming components that are descendants&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%2Fres.cloudinary.com%2Fdcboyc8ye%2Fimage%2Fupload%2Fv1586941028%2Fohgoahumajhazxkthdfl.png" 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%2Fres.cloudinary.com%2Fdcboyc8ye%2Fimage%2Fupload%2Fv1586941028%2Fohgoahumajhazxkthdfl.png" alt="Context Provider"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  3- Consuming the &lt;em&gt;Context&lt;/em&gt; in our component:
&lt;/h4&gt;

&lt;p&gt;You can use a &lt;strong&gt;&lt;/strong&gt; is a React component that subscribes to the &lt;em&gt;Context&lt;/em&gt; changes which uses the &lt;em&gt;"render props"&lt;/em&gt; technique to consume the value of the &lt;em&gt;Context&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In this example we're going to use the &lt;em&gt;Hook useContext&lt;/em&gt; which accepts a &lt;em&gt;Context object&lt;/em&gt; (the value returned from React.createContext) and returns the current &lt;em&gt;Context value&lt;/em&gt; for that &lt;em&gt;Context&lt;/em&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%2Fres.cloudinary.com%2Fdcboyc8ye%2Fimage%2Fupload%2Fv1586981126%2Fwyinnklgjzzhnt6brccg.png" 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%2Fres.cloudinary.com%2Fdcboyc8ye%2Fimage%2Fupload%2Fv1586981126%2Fwyinnklgjzzhnt6brccg.png" alt="Layout Component"&gt;&lt;/a&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%2Fres.cloudinary.com%2Fdcboyc8ye%2Fimage%2Fupload%2Fv1586981121%2Fuzrroefeuitfpz7ec7tv.png" 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%2Fres.cloudinary.com%2Fdcboyc8ye%2Fimage%2Fupload%2Fv1586981121%2Fuzrroefeuitfpz7ec7tv.png" alt="Button Component"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's important to remember that the current &lt;em&gt;Context value&lt;/em&gt; is determined by the value prop of the nearest &lt;em&gt;&lt;/em&gt; above the calling component in the tree.&lt;/p&gt;

&lt;p&gt;Well people this it's all, to this point I hope that you can create a &lt;em&gt;Context&lt;/em&gt;, subscribed your components and change the current value of the &lt;em&gt;Context&lt;/em&gt; since a child (look carefully out the second image of the step 3)&lt;/p&gt;

</description>
      <category>react</category>
      <category>context</category>
      <category>beginners</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
