개발공부
Creative-tim 오픈소스 템플릿 에러 핸들링
hamsterDev
2024. 9. 8. 16:17
creative tim 페이지 템플릿 사용 시 오류 핸들링
무료 MIT 라이센스 템플릿(링크) 다운받아서 사용하려는데 오류 발생
자체 모듈 material-tailwind 에서 placeholder, 'onPointerEnterCapture' ,'onPointerLeaveCapture'를 반드시 요구하게 코드가 변경이 되어서 오류가 발생.
라이브러리를 수정하거나 기존의 페이지들을 모두 수정해야 하는데,
Most components now require 'onPointerEnterCapture' and 'onPointerLeaveCapture' · Issue #651 · creativetimofficial/material-ta
Hello, this issue started happening today out of the blue. I did not find anything mentioning it online. Most components require those two props now, can't manage to fix it. The typescript warning:...
github.com
위 링크대로 "@types/react"을 "18.2.39"로 고정하여 해결.