Can't render a simple React Component

Starting the frontend projects with some React testing, but can’t render even a simple component. What am I doing wrong?

https://codepen.io/mcronline/pen/byjaOg

Thank you

At the last line, React.render() should be ReactDOM.render().

Then in your App constructor, state should be this.state.

1 Like