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

const myFirstElement = <h1>Hello React!</h1>

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

/*
You are now watching
the React file 'index.js'
through our 'Show React' tool.
*/

              
localhost:3000