Pregunta de entrevista de Head Digital Works

Why functional components instead of class component?