title: React not turning HTML string from JSON into text
body: <p>I am having a problem with React.js and the way it deals with text stored in variable.</p>
  
  <p>Here is how it would look like using DOM:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>let text = "Must credit to &amp;quot;https://indepthguide.com/&amp;quot; not Flickr.\nCopy Link Address: &lt;a href=\"https://indepthguide.com/\" rel=\"nofollow\"&gt;indepthguide.com/&lt;/a&gt;"
  
  document.getElementById("root").innerHTML = text;</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;p id="root"&gt;&lt;/p&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>This is how it looks like in React.js.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="true">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var text = "Must credit to &amp;quot;https://indepthguide.com/&amp;quot; not Flickr.\nCopy Link Address: &lt;a href=\"https://indepthguide.com/\" rel=\"nofollow\"&gt;indepthguide.com/&lt;/a&gt;";
  
  class Text extends React.Component {
    render() {
      return &lt;h3 &gt;{
        text
      } &lt; /h3&gt;;
    }
  }
  
  
  ReactDOM.render( &lt;
    Text / &gt; ,
    document.getElementById('root')
  )</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.1.0/react.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.1.0/react-dom.min.js"&gt;&lt;/script&gt;
  &lt;div id="root"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I have tried <code>new DOMParser();</code> but with no success as it started throwing errors and i am unsure how to deal with it.
  I really don't know how to do it, tried doing it for very long now :D.</p>