| 1 | // Import the register entry first so it installs the DevTools hook and |
| 2 | // registers the chrome-devtools-mcp tool group BEFORE react-dom evaluates — the |
| 3 | // hook must be in place when React's renderer injects on the first commit. |
| 4 | import '../../src/register.js'; |
| 5 | |
| 6 | import * as React from 'react'; |
| 7 | import {createRoot} from 'react-dom/client'; |
| 8 | |
| 9 | import App from './App'; |
| 10 | |
| 11 | const root = createRoot(document.getElementById('root')); |
| 12 | root.render(<App />); |