AUTO1 Group interview question

Lifecycle methods in React 16+