this is my current code var React = require('react'); var ReactDOM = require('react-dom'); // Write code here: var myList = ( <ul> <li>Learn JS</li> <li>Learn ReactJS</li> <li>Learn Node</li> </ul> ); ReactDOM.render( mylist, document.getElementById('app') );
The above does not look correct. It needs to be a JSX instance in the render call.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.