https://reactjsguru.com/react-component-life-cycle-with-diagram/
React Component Life Cycle with Diagram