J.P. Morgan Interview Question

Describe component lifecycle