Improving speed when presenting large sets of table data

I have a table with a data set of 100,000 entires. The table displays 10,000 entries at a time (100 entries per page and 100 pages).

To access the rest of the data in the set, I have a +/- stepper that the user can click to increase/decrease the numbered rows currently being displayed (e.g., if the current set is 1-10,000, the user could press the + button to show the 10,001-20,000 batch).

The stepper sets a state for the lower and upper numbers of the batch. This method works, although it takes about 6-7 seconds to load the data and display it in the table after the stepper is clicked. Since I’m using states, if the user refreshes the page they’re back to #1.

Is there a faster, more efficient way of doing this?

1 Like