inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

leeso4567님의 게시글

leeso4567 leeso4567

@leeso45674461

수강평 작성수
2
평균평점
5.0

게시글 2

질문&답변

createRoot도 잘 했는데 에러가 나네요

import React from "react"; import ReactDOM from "react-dom/client"; import "./index.css"; import App from "./App"; import reportWebVitals from "./reportWebVitals"; import Library from "./chapter_03/Library"; import Clock from "./chapter_04/Clock"; const root = ReactDOM.createRoot(document.getElementById("root")); setInterval(() => { root.render( ); }, 1000); // If you want to start measuring performance in your app, pass a function // to log results (for example: reportWebVitals(console.log)) // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals reportWebVitals(); index.js 파일입니다

좋아요수
1
댓글수
2
조회수
429