⭐React 작동 흐름1️⃣HTML 진입점 ( index.html ) 브라우저가 HTML을 읽을 때 id="root"인 "div"를 DOM에 생성하고 main.tsx파일을 모듈로 불러온다.2️⃣main.tsx - React 앱 진입점import { createRoot } from 'react-dom/client'import App from './App'createRoot(document.getElementById('root')!).render() document.getElementById('root')로 위 HTML의 div#root를 DOM에서 가져옴createRoot(...).render()는 그 안에 React 앱(컴포넌트 트리의 루트) 를 렌더링3️⃣App.tsx - 최상단 컴포넌트export d..