improve performance of react app