NiYO interview question

What are the life-cycle methods in react