React lifecycle
• • ☕️ 1 min readMount
- constructor
- componentWillMount
- render
- componentDidMount
Update
prop, state 변경
- componentWillReceiveProps
- shouldComponentUpdate
- componentWillUpdate
- render
- componentDidUpdate
State Change
- shouldComponentUpdate
- componentWillUpdate
- render
- componentDidUpdate
Unmounting
- componentWillUnmount