노마드코더 개발자 분의 리액트 강좌를 듣다가 정리해놓으면 추후에 좋을 것 같아 오랜만에 끄적여 본다. React Component의 Life Cycle에 관한 이야기다. 크게 어렵진 않았다 사실 vue랑 같아서... 크게 3가지 단계로 나뉘어진다 :) 1. Mounting 2. Updating 3. Unmounting Mounting @ constructor() - JavaScript에서 Class를 만들 때 호출 - Coponent가 Mount될 때 || 화면에 표시 될 때 호출 @ render () @ componentDidMount() - Component가 처음 render될 때 호출 Updating : state를 변경할 때! @ render() @ compontnetDidUpdate() Unm..