Pergunta de entrevista da empresa Akbank

-How to apply lifecycle methods in functional components?