Profinit interview question

Functional vs class components in React