title: TypeError: Super expression must either be null or a function, not undefined
body: <p>I have a problem with react components and props. Here's exception below.
  What I'm doing wrong?</p>
  
  <blockquote>
    <p>Uncaught TypeError: Super expression must either be null or a
    function, not undefined</p>
  </blockquote>
  
  <pre><code>class Component extends React.component {
    constructor(props) {
      super(props);
      this.state = {
        name: ''
      }
      this.handleChange = this.handleChange.bind(this);
    }
  
    handleChange(event) {
      this.setState({
        name: event.target.value
      }); 
    }
  
    render() {
      return (
        &lt;div&gt;
          &lt;input type="text" onChange={this.handleChange} /&gt;
          &lt;p&gt;{this.state.name}&lt;/p&gt;
        &lt;/div&gt;
      )
    }
  };
  
  ReactDOM.render(
    &lt;Component /&gt;,
    document.getElementById('reactContainer')
  )
  </code></pre>
  
  <p><a href="http://codepen.io/armwr/pen/OWqajw" rel="nofollow noreferrer">Codepen link</a></p>