소개
게시글
질문&답변
hooks 에러?? 문제 질문드립니다.
(사진) 답변 감사합니다! 확인해보니 설치 되어 있습니다!! ㅜㅜ 그런데도 똑같습니다..ㅠㅠ
- 0
- 3
- 732
질문&답변
hooks 에러?? 문제 질문드립니다.
혹시 몰라 콘솔 창의 에러를 캡쳐가 아닌 문자열로 다시 올립니다. react.development.js:1476 Uncaught Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem. at resolveDispatcher (react.development.js:1476:1) at useState (react.development.js:1507:1) at useMemoOne (use-memo-one.esm.js:18:1) at useInstanceCount (react-beautiful-dnd.esm.js:6953:1) at DragDropContext (react-beautiful-dnd.esm.js:6963:1) at renderWithHooks (react-dom.development.js:16305:1) at mountIndeterminateComponent (react-dom.development.js:20074:1) at beginWork (react-dom.development.js:21587:1) at HTMLUnknownElement.callCallback (react-dom.development.js:4164:1) at Object.invokeGuardedCallbackDev (react-dom.development.js:4213:1) react.development.js:1476 Uncaught Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem. at resolveDispatcher (react.development.js:1476:1) at useState (react.development.js:1507:1) at useMemoOne (use-memo-one.esm.js:18:1) at useInstanceCount (react-beautiful-dnd.esm.js:6953:1) at DragDropContext (react-beautiful-dnd.esm.js:6963:1) at renderWithHooks (react-dom.development.js:16305:1) at mountIndeterminateComponent (react-dom.development.js:20074:1) at beginWork (react-dom.development.js:21587:1) at HTMLUnknownElement.callCallback (react-dom.development.js:4164:1) at Object.invokeGuardedCallbackDev (react-dom.development.js:4213:1) react-dom.development.js:18687 The above error occurred in the component: at DragDropContext (http://localhost:3000/static/js/bundle.js:9412:19) at div at List (http://localhost:3000/static/js/bundle.js:279:5) at div at div at App (http://localhost:3000/static/js/bundle.js:35:82) Consider adding an error boundary to your tree to customize error handling behavior. Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries. react.development.js:1476 Uncaught Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem. at resolveDispatcher (react.development.js:1476:1) at useState (react.development.js:1507:1) at useMemoOne (use-memo-one.esm.js:18:1) at useInstanceCount (react-beautiful-dnd.esm.js:6953:1) at DragDropContext (react-beautiful-dnd.esm.js:6963:1) at renderWithHooks (react-dom.development.js:16305:1) at mountIndeterminateComponent (react-dom.development.js:20074:1) at beginWork (react-dom.development.js:21587:1) at beginWork$1 (react-dom.development.js:27426:1) at performUnitOfWork (react-dom.development.js:26557:1) DragDropContext 의 문제인것 같기도 보이는데 잘 모르겠네요 ㅜㅜ
- 0
- 3
- 732