<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Context on dev notes</title>
    <link>https://juhanakristianblog.netlify.app/tags/context/</link>
    <description>Recent content in Context on dev notes</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 14 Oct 2020 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://juhanakristianblog.netlify.app/tags/context/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Manage React state with the useContext hook</title>
      <link>https://juhanakristianblog.netlify.app/posts/manage-react-state-with-the-usecontext-hook/</link>
      <pubDate>Wed, 14 Oct 2020 00:00:00 +0000</pubDate>
      <guid>https://juhanakristianblog.netlify.app/posts/manage-react-state-with-the-usecontext-hook/</guid>
      <description>&lt;p&gt;&lt;strong&gt;DISCLAIMER&lt;/strong&gt;: This post is based on state management ideas presented by Kent C. Dodd’s in &lt;a href=&#34;https://kentcdodds.com/blog/application-state-management-with-react&#34;&gt;Application state management with React&lt;/a&gt;. If you haven&amp;rsquo;t read it, I encourage you to do so.&lt;/p&gt;&#xA;&lt;p&gt;React projects have many options for managing state. While libraries like &lt;code&gt;redux&lt;/code&gt; and &lt;code&gt;mobx&lt;/code&gt; are a popular choice, React also has it&amp;rsquo;s own API for managing state. The Context API is useful when you have state which is accessed in multiple places in your app and you want to avoid &lt;a href=&#34;https://kentcdodds.com/blog/prop-drilling&#34;&gt;prop drilling&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
