Pearson Interview Question

Component Life cycle for react