title: super expression must either be null or a function?? React
body: <p>I am trying out react and its my first attempt but it kept saying "TypeError: Super expression must either be null or a function"</p>
  
  <p>The code doesn't look problematic to me, could someone help me out? Thanks</p>
  
  <p><strong>form.js</strong> </p>
  
  <pre><code>import React, { component } from "react";
  
  class forma extends component {
    render() {
      return &lt;h2&gt;What's your name?&lt;/h2&gt;;
    }
  }
  export default forma;
  </code></pre>