Pregunta de entrevista de NeoSOFT

Q: the difference between functional component and class-based component in react.