const root = ReactDOM.createRoot(document.getElementById('root')); root.render(<h1>Hello, world!</h1>); It displays a heading saying âHello, world!â on the page. Try it on CodePen Click the link above to open an online editor. Feel free to make some changes, and see how they affect the output. Most pages in this guide will have editable examples like this one. How to Read This Guide In this guide,
{{#tags}}- {{label}}
{{/tags}}