Pregunta de entrevista de Azentio

Questions I got were.. How do you optimize code in react.js ?