How do I access the div root body from the react? – Html
I have such a html project structure: <div id="root"> <div class="main-c container-fluid> </div> ... <div> My index.tsx: import './index.css'; const root = ReactDOM.createRoot( document.getElementById('root') as HTMLElement ); root.render( <React.StrictMode> <HashRouter> <App /> </HashRouter> </React.StrictMode> ); app: import "bootstrap/dist/css/bootstrap.min.css" function App()…