title: How to use style tag in ReactJS while using non-JSX syntax?
body: <p>I need a quick help. I am using ReactJS with non-JSX syntax because I feel more comfortable using it than JSX</p>
  
  <p>I can easily create a div , but I don't know how to include the style tag like we do in pure html ; for example : <code>&lt;div class="some-name-here" style="some-style-here"......&lt;/div&gt;</code></p>
  
  <p>Here is the code : </p>
  
  <pre><code>var DOMstyle = {
    backgroundColor: 'blue',
    width : 100
  };
  
  
  let Header = class Header extends Component {
    render() {
      return(
        React.createElement('div', {className : 'header'}, "hello",
        )
      );
    }
  };
  </code></pre>
  
  <p>I'm trying to include the DOMstyle into this div so browser will see something like <code>&lt;div class="some-name-here" style="some-style-here"......&lt;/div&gt;</code></p>
  
  <p>Any help would be appreciated. </p>
  
  <p>Thanks.</p>