Pregunta de entrevista de Nagarro

How useeffect can be used as life cycle chain methods