React 'Element type is invalid' 오류 해결 — default/named export 혼동과 React Router 정리

React ‘Element type is invalid’ 오류 원인과 해결 1. 문제 정의 React 애플리케이션을 실행할 때 다음 오류가 발생하며 화면이 렌더링되지 않습니다. 1 2 3 Uncaught Error: Invariant Violation: Element type is invalid: expected a string (for built-in components) or a...

2026-08-27 · 7 분 · 3068 단어 · DevTrace