표준 리액트 프로젝트 분석하기

/* public/index.html */

<div id="root"></div>
const root = ReactDOM.createRoot(document.getElementById("root"));

위와 같이 “root” 태그에 대한 부분이 나타나있다.