获取您的 自己的 React 服务器
import React from 'react';
import ReactDOM from 'react-dom/client';

const container = document.getElementById('sandy');
const root = ReactDOM.createRoot(container);
root.render(<p>Hallo</p>);

/*
For this example to work on your project,
you must have a element with
id="sandy" on your "index.html" page.
*/

              
localhost:3000