12. One-Line Summary
Async operations continue even after component unmounts, so use useEffect cleanup functions to set cancel flags or use AbortController to cancel requests to prevent memory leak warnings.
언마운트된 컴포넌트에서 setState 호출 경고
Fixing the memory leak warning caused by calling setState after a component has been removed.
Async operations continue even after component unmounts, so use useEffect cleanup functions to set cancel flags or use AbortController to cancel requests to prevent memory leak warnings.