EY Interview Question

React life cycle methods