title: Why isn't this allowed before super()
body: <p>I have been coding in React js. I have read that in ES6 classes to access 'this' we need to first call super(props) and I would like to know why this is.Answers I have found mainly talk about Javascript being unable to know what 'this' is unless superclass is called. I would like to know what that means because outside the constructor, 'this' is recognized and we don't call super(props) each time.</p>
  
  
  
  <pre class="lang-js prettyprint-override"><code>class MyComponent extends React.Component {
    constructor(props) {
      super(props);
      this.state = { /* initial state */ };
    }
  }
  </code></pre>