Canva Interview Question

How would you optimize the performance of a large React application?