Trell interview question

Difference between class and functional components