소개
게시글
질문&답변
2024.07.26
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
- 263
질문&답변
2024.01.05
useCallback이 적용 되지 않습니다.. (onRemove, onEdit)
(사진)해결했습니다..! 저 빈 태그를 제거하니까 잘 동작하네요.. 빈태그가 왜 영향을 미치는 걸까요..?
- 0
- 2
- 261