300x250 상태관리1 오류 해결 - Warning: Can't perform a React state update on an unmounted component. 이번 ha2 시험에서 다음과 같은 오류들을 만났다. 섹션투를 두번을 들었지만 그때도 지금도 해결하지 못하다가 시험중에 계속된 구글링으로 결국 찾아냈다. Warning: An update to App inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { 블라블라블라~~~ 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.. 2021. 7. 19. 이전 1 다음 반응형