Rendering component to DOM
You can mount whatever a component's render function returns, to the DOM by using the ReactDOM.render method. Specify the component or some JSX as first argument, and the entry point on your HTML, in our case a div with id attribute of 'app'.
Then, whatever the component's render function returns, will replace the element with the given id.