Pergunta de entrevista da empresa Trell

Difference between class and functional components