render code on react code example
Example: how to render in react
const element = <h1>Hello, world</h1>;
ReactDOM.render(element, document.getElementById('root'));
const element = <h1>Hello, world</h1>;
ReactDOM.render(element, document.getElementById('root'));