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