title: Draft.js and stateToHTML, how to render output html in react component?
body: <p>I've got my Draft js editor working fine, it saves to my database, using <code>convertToRaw(editorState1.getCurrentContent())</code>, and I am getting it back and converting it to HTML using draft-js-export-html and <code>stateToHTML(convertFromRaw(dbContent.content.text01))</code>.</p>
  
  <p>So far so good... but now I have raw HTML that I want to display in my react component, and here comes the trouble. </p>
  
  <p>Just rendering it with <code>{props.text01}</code> outputs it as a string and turns into <code>&lt;p&gt;adfasfadfs&lt;/p&gt;</code> as text.</p>
  
  <p>Obviously I want it to render as HTML. How do I do that?</p>
  
  <p>I have looked at <em>dangerouslySetInnerHTML</em> but I would prefer not having ANOTHER plugin just to get my Draft js working the way I want it to.</p>
  
  <p>Am I going at it the wrong way, or is <em>dangerouslySetInnerHTML</em> the only way to do it?</p>