Hello World

ReactDOM.render(
	<h1>Hello, world!</h1>,
	document.getElementById('root')
);

It displays a heading saying “Hello, world!” on the page. In above the render method takes two argument. First one is the template which will be rendered on the page and the second argument is the element in which the template will be rendered.