useEffect()

1.리액트가 하는 일과 하지 않는 일

post-thumbnail

2.useEffect 사용 예시

post-thumbnail

3.useEffect 클린업 함수 리턴하기

post-thumbnail