how to improve performance of react applications