title: Convert text to HTML
body: <p><strong>What I want to achieve</strong>
  Inside React I want to fetch an HTML page with fetch and from the response i get I want to extract some data from a div with a class called "myDiv"</p>
  
  <p>The data I am fetching are in an HTML format. Current I have this code which fetch the data and resolves the response in a text format.</p>
  
  <pre><code>fetch('/my/url')
    .then(response =&gt; response &amp;&amp; response.text())
    .then(text =&gt; console.log('Do something that extract content in class "myDiv"));
  </code></pre>