6. Error
[Error] Can't perform a React state update on an unmounted component
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function. 경고: 마운트 해제된 구성 요소에 대해 반응 상태 업데이트를 수행할 수 없습니다. 이는 사용자의 프로그램에서 메모리가 누출되었음을 나타냅니다. 수정하려면 useEffect 정리 기능에서 모든 구독 및 비동기 작업을 취소합니다. 해결방법 데이터 가져오기 또는 기타 비동기 작업은 Promise를 반환한다...
2023. 11. 14. 13:22