List all lifecycle methods. | Lifecycle functions | react Interview Questions | NextRound.in