Reactdom рендер в V18

const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(<h1>Hello React</h1>)
M Hassan khan