Accenture interview question

How would you optimize a slow-loading React application?