title: How to add data attribute without value in react create element?
body: <p>I am adding <code>div</code> to the DOM as below,</p>
  
  <p><code>React.createElement("div", { className: "test"});</code></p>
  
  <p>The rendered html should be as below</p>
  
  <pre><code>&lt;div class="test" data-test&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Where can I add <code>data-test</code> in the <code>createElement</code>?</p>