Pergunta de entrevista da empresa Publicis Sapient

Diff between class and functional component