Target interview question

functional vs class components