lifecycle method react

JavaScript
Every component in React goes through a lifecycle of events. I like to think of them as going through a cycle of birth, growth, and death.

Mounting – Birth of your component
Update – Growth of your component
Unmount – Death of your componentINITIALIZATION= setup props and state 
MOUNTING= constructor->componentWillMount->render->componentDidMount//Birth
UPDATE= shouldComponentUpdate->componentWillUpdate->render
  		->componentDidUpdate //Growth
UNMOUNTING= componentWillUnmount //DeathshouldComponentUpdate(nextProps, nextState) {
  return true;
}componentDidMount()componentDidUpdate(prevProps, prevState, snapshot)
Source

Also in JavaScript: