Https://learn.freecodecamp.org/front-end-libraries/react/write-a-react-component-from-scratch

Https://learn.freecodecamp.org/front-end-libraries/react/write-a-react-component-from-scratch
0

#1
class MyComponent extends React.component{
constructor(props) {
    super(props);
  }

    render(){
        return(
            <div>
            <h1>My First React Component!</h1>
            </div>
            
        );
    }
};
ReactDOM.render(<MyComponent/>, document.getElementById('challenge-node')) ```
error: // running test
Super expression must either be null or a function, not undefined
Super expression must either be null or a function, not undefined
Super expression must either be null or a function, not undefined

#2

React.component should be React.Component (uppercase C)