Question d’entretien chez Crediwatch

What is the difference between functional components and class components?