나의 React 메모

Haram B·2022년 7월 7일
0

Frontend

목록 보기
3/5
post-thumbnail
"rules": {
   "no-unused-vars": "off"
 }
출처: https://jainn.tistory.com/324 [Dogfootruler Kim:티스토리]

npm cache verify


Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of DomWrapper which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here
https://wazacs.tistory.com/36


Warning: 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:
react.development.js:1618 Uncaught TypeError: Cannot read properties of null (reading 'useContext')

맨 윗줄에 function ()를 선언하고 코드 맨 아래에 export default ~()이런 식으로 했더니 난 에러
다시 맨 윗줄에 export default function ~~()로 고침


font site:
https://noonnu.cc/index

profile
사회에 이로운 IT 기술에 대해 고민하고 모두가 소외되지 않는 서비스를 운영하는 개발자를 꿈꾸고 있습니다 ✨

0개의 댓글