CodeValue interview question

Q: How the component's life cycle works?