Try to search your question here, if you can't find : Ask Any Question Now ?

Paginating a table in ReactJS

HomeCategory: stackoverflowPaginating a table in ReactJS
Avatarjulie asked 3 weeks ago

I already have a table that renders my data. But there can be as many as 1000 rows in the table.

Right now, the dataprovider component sends date to the table component via props. What’s the best way to start pagination? Should I still fetch all the data at once, as is currently the case? If so, where do I store it? Keep it in memory and take slices as needed? Or somehow use query params for the the number of records to fetch (0 – 24, 25 – 49, etc)?

1 Answers
Best Answer
AvatarAmit answered 3 weeks ago
Your Answer

13 + 19 =

Popular Tags

WP Facebook Auto Publish Powered By :