从 W3Schools.cn 在线教程学习 Web 网络开发
Result Size: 625 x 591

import React from 'react';
import ReactDOM from 'react-dom/client';

const myElement = <h1>I Love JSX!</h1>;

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(myElement);

localhost:3000