Mainstack Interview Question

how to optimize frontend apps