React not working in codepen

Use ReactDOM.render(<Application />, document.getElementById('app'));

And use (and ) when you need to return more than one line of JSX.

 render() {
    return (
      <h1>Hello, ES6 and React 0.13!</h1>
        More info <a href="" target="_blank">here</a>.

Thank you for solving that
but why isn’t React.render() working?
its working in this sample they gave

I always knew the ReactDOM way. Maybe the other was the way in the past, see the React version: 0.13. Now it is used the React 16.4.0

Thank you for your time
really appreciate it

1 Like