Accenture interview question

Diff between pros and state Life cycle of react Life cycle for react hooks