Question d’entretien chez CrossFit

How would you optimize this React component? How about this React application?