Infosys interview question

How to optimization react js application