Infosys interview question

Q. How to optimize React application