T
TanStack16mo ago
eastern-cyan

How does tanstack table table handle huge loads of data

Hi, I am using tanstack table to render a list of invoices that I fetch from the backend using tanstack query in my nextjs 14 app router app. I am fetch over 10,000 records and are well paginated. I need some clarity on how tanstack table actually works under the hood. Does it fetch all the 10,000 records before the table component is rendered or it renders as long as the first page (of 10 rows is ready)?
1 Reply
correct-apricot
correct-apricot16mo ago
there's not that much source code to look at if you are curious how it works under the hood. it's pretty simple tanstack table is not responsible for fetching

Did you find this page helpful?