<?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: Osman Zakir</title>
    <description>The latest articles on DEV Community by Osman Zakir (@dragonosman).</description>
    <link>https://dev.to/dragonosman</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%2F342266%2F6d7b09b3-8820-411f-84db-2e05128483c7.png</url>
      <title>DEV Community: Osman Zakir</title>
      <link>https://dev.to/dragonosman</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dragonosman"/>
    <language>en</language>
    <item>
      <title>Still Nothing Rendering...</title>
      <dc:creator>Osman Zakir</dc:creator>
      <pubDate>Sun, 20 Sep 2020 18:31:46 +0000</pubDate>
      <link>https://dev.to/dragonosman/still-nothing-rendering-364a</link>
      <guid>https://dev.to/dragonosman/still-nothing-rendering-364a</guid>
      <description>&lt;p&gt;I fixed my unreachable code problem but I still have that other problem of nothing rendering.  &lt;/p&gt;

&lt;p&gt;I was also getting an "undefined" error on React itself, so I turned the script into an ES6 module and &lt;code&gt;imported&lt;/code&gt; React which fixed that problem.  But still nothing actually gets rendered.  &lt;/p&gt;

&lt;p&gt;And on CodePen, I get this error:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Uncaught TypeError: Cannot read property 'className' of undefined
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;on the line&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;Button&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;propTypes&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;className&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;isRequired&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Why is that?&lt;/p&gt;

&lt;p&gt;Also note that on CodePen, changing it into a module wasn't needed.&lt;/p&gt;

&lt;p&gt;Anyway, please help me out here as well.  Thanks.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>I have an "Unreachable Code Detected" Error in my React app - How to fix?</title>
      <dc:creator>Osman Zakir</dc:creator>
      <pubDate>Sun, 20 Sep 2020 16:46:30 +0000</pubDate>
      <link>https://dev.to/dragonosman/i-have-an-unreachable-code-detected-error-in-my-react-app-how-to-fix-2ld2</link>
      <guid>https://dev.to/dragonosman/i-have-an-unreachable-code-detected-error-in-my-react-app-how-to-fix-2ld2</guid>
      <description>&lt;p&gt;Hi, everyone.  I have this GitHub &lt;a href="https://github.com/DragonOsman/javascript-calculator-project"&gt;repository&lt;/a&gt; that I made for the source code for my solution to &lt;a href="https://www.freecodecamp.org/learn/front-end-libraries/front-end-libraries-projects/build-a-javascript-calculator"&gt;this project&lt;/a&gt; on FreeCodeCamp.&lt;/p&gt;

&lt;p&gt;I have an error that says "Unreachable Code Detected", on lines 245 to 252 of my JS file.  Why is it flagged as "unreachable code" and how do I fix it?&lt;/p&gt;

&lt;p&gt;Also, right now nothing is being rendered when I run the code (aside from FreeCodeCamp's testable project script output).  I don't get how I could fix this problem, either.&lt;/p&gt;

</description>
      <category>freecodecamp</category>
      <category>react</category>
      <category>freecodecampproject</category>
    </item>
  </channel>
</rss>
