Pregunta de entrevista de Infovision, Inc.

Difference between useEffect and componentDidMount?