DEV Community

Discussion on: Using a React Table with Client-Side Pagination

Collapse
 
leandrotorressicilia profile image
LeandroTorresSicilia

Yes refreshing the page downloads all the data. With the TableWithBrowserPagination component right now you can only do client-side pagination, if you want to do server-side pagination, then you could use the Pagination and Table components. Pagination has an onChange prop that receives the selected page number, then knowing the page you can call an API with pagination and get only the page data. Maybe I will write another post using server-side pagination.

Thanks for reading.