Minified React error #321
React의 경량화된 프로덕션 빌드에서는 네트워크를 통해 전송되는 데이터의 크기를 줄이기 위해 전체 오류 메시지를 포함하지 않습니다.
앱을 디버깅할 때는 추가 디버그 정보를 추적하고 잠재적인 문제에 관해 유용한 경고를 제공하는 개발 빌드를 로컬 환경에서 사용하기를 강력히 권장합니다. 하지만 프로덕션 빌드를 사용하는 중에 예외가 발생했다면 이 페이지에서 원래의 전체 오류 메시지를 확인할 수 있습니다.
방금 발생한 오류의 전체 내용은 다음과 같습니다.
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://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.