DOM에 element가 올라간 상태
사용 가능한 Method
- constructor()
- getDrivedStateFromProps()
- render()
- ComponentDIdMount() : cycle method
render() 메서드는 항상 호출 됨
다른 메서드는 사용자에 따라 정의
Componet가 변경될 때
- getDrivedStateFromProps()
- shouldComponentUpdate()
- render()
- getSnapShotBeforeUpdate()
- ComponetDidUpdate() : cycle method
DOM에서 Component가 제거 될 때
- ComponetWillUnmount() : cycle method