Frage im Vorstellungsgespräch bei Infovision, Inc.

Difference between useEffect and componentDidMount?