Pregunta de entrevista de Rydeu

What are the differences between functional and class components?