โ 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์ cleanup ํจ์๋ฅผ ์ด์ฉํด๋ผ react๋ก ์์
์ ํ๋ค๋ณด๋ฉด ์ข
์ข
๋ง๋๋ ์๋ฌ ์ค ํ๋์
๋๋ค. ์ด ์๋ฌ๋ fetch ๋ฑ ๋น๋๊ธฐ๋ฅผ ์คํํ๋ ์คํ..