a | b/client/src/index.js | ||
---|---|---|---|
1 | import React from 'react'; |
||
2 | import ReactDOM from 'react-dom/client'; |
||
3 | import './index.css'; |
||
4 | import App from './App'; |
||
5 | |||
6 | const root = ReactDOM.createRoot(document.getElementById('root')); |
||
7 | root.render( |
||
8 | <App /> |
||
9 | ); |