Facebook Pixel

What will be rendered on the screen after executing the following code?

Code
medium
mins
const heading = React.createElement( "h1", { id: "title" }, "Hello World from React!" ); const root = ReactDOM.createRoot(document.getElementById("root")); root.render(heading);

Solve Similar questions 🔥

Please Login.
Please Login.
Please Login.