asked
Life Coding - React
How to code JS
Written on
·
260
1
npm run start해서 빌드할때에 class type으로 소스코드 변경시
TypeError: Class constructor App cannot be invoked without 'new'
라는 에러가 출력됩니다.
Answer 1
0
{component}를 import하지 않아서 생긴 문제였네요