
state에 props를 복사하면 안된다.
버그를 발생시키며, props의 갱신을 의도적으로 무시해야 할 때만 사용하기
render( )는 React.Component의 하위 class에서 반드시 정의해야 하는 메서드이다.
constructor는 state 초기화하거나 메서드를 바인딩할 때 사용
componentDidMount는 Dom 노드 초기화 및 데이터 fetch할 때 사용
componentWillUnmount는 타이머 제거, 요청 취소 및 구독 해제할 때 사용
Functional Component에서는 hook으로 대부분 구현 가능