Infosys interview question

How do you optimize a react application?