import React from 'react'; import ReactDOM from 'react-dom/client'; import App from '@/App'; import '@/index.css'; const rootElement = document.getElementById('root'); ReactDOM.createRoot(rootElement).render( ); // No explicit removal of static content. CSS will handle hiding it. // The CSS rule '#root:not(:empty) ~ .static-content-wrapper { display: none; }' // in index.html will hide the static content once React populates the #root div.