Can't perform a React state update on an unmounted component

나의 재물운? 연애운은?

AI가 봐주는 내 사주팔자 - 운세박사

https://aifortunedoctor.com/

Can't perform a React state update on an unmounted component

농부 0 1,876 2022.01.13 12:28

react_devtools_backend.js:4045 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.

    in wrappedComponent (at pages/index.tsx:15)

    in div (created by Layout__Body)

    in Layout__Body (at Layout/index.tsx:87)

    in div (created by Layout__App)

    in Layout__App (at Layout/index.tsx:86)

    in div (created by Layout__Wrapper)

    in Layout__Wrapper (at Layout/index.tsx:84)

    in div (at Layout/index.tsx:75)

    in wrappedComponent (at pages/index.tsx:14)

    in IndexPage (at _app.tsx:47)



리액트 clean-up에서 이미 없어진 컴포넌트에 접근하여 특정 상태를 바꾸려고 하면 해당 에러 발생함.

Comments

나의 재물운? 연애운은?

AI가 봐주는 내 사주팔자 - 운세박사

https://aifortunedoctor.com/

Category
실시간 인기글
난 아버지처럼 되지 않을래요
영리치
등록된 글이 없습니다.
Magazine
훈남/훈녀
 
 
 
상점
Facebook Twitter GooglePlus KakaoStory NaverBand