Capgemini Engineering interview question

How can you optimize a React App?