How to handle large data rendering on a