Nas Company interview question

Write out the component lifecycle methods.