Pregunta de entrevista de Sumo Logic

What’s the difference between Class-Based and Functional Components?