title: Create Element with id or class with React Dom
body: <p>I am creating an element like so</p>
  
  <pre><code>const foo = document.createElement('div');
  ReactDOM.render(component, foo);
  </code></pre>
  
  <p>I wonder if it is possible to create <code>foo</code> with an <code>class</code> or <code>id</code>?</p>