Akbank Interview Question

-How to apply lifecycle methods in functional components?