Ciber interview question

Class vs Functional Component and Class Lifecycle methods