hello world in react code example
Example: simple hello world in react js
ReactDOM.render(
<h1>Hello, world!</h1>,
document.getElementById('root')
);
ReactDOM.render(
<h1>Hello, world!</h1>,
document.getElementById('root')
);