React costructor does not work
<p>consider this react class</p>

<pre><code>var sentence = "The FBI has managed to unlock the iPhone";

define(["./UserInput","./Statistic","./RandomWords","react", "react-dom"],
  (UserInput,Statistic,RandomWords,React, ReactDOM) =&gt; {

      var Root = React.createClass({
        constructor() {
            super();
            console.log("Hey");
            this.state={sentenct: sentence }

          }

    render: function() {
          return (
            &lt;div &gt;

                &lt;h1&gt;Welcome to our game&lt;/h1&gt;
                &lt;UserInput/&gt;
                &lt;RandomWords NewWord={ sentence }/&gt;
                &lt;Statistic   speed={"Salman"}  success={"saba"} /&gt;
            &lt;/div&gt;
          );
        }
      });

      ReactDOM.render(
        React.createElement(Root, null),
        document.getElementById('content')
      );
});
</code></pre>

<p>I have tried <a href="https://facebook.github.io/react/tips/props-in-getInitialState-as-anti-pattern.html" rel="nofollow">this</a>, and
I made a costructor, and i expect to see the "Hey" in my console but it does not happen?</p>