Accenture interview question

explain the complete react lifecycle