Are lifecycle methods used in functional components?
No, lifecycle methods are specific to class components; functional components use hooks like useEffect to achieve similar functionalities.