S
S
Swaer2020-02-29 20:51:26
React
Swaer, 2020-02-29 20:51:26

How to implement pages in react?

There is a dynamic array of objects, for example, 10 output per page, how to properly implement pages so that they dynamically expand to the required number depending on the number of objects

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Cheremkhin, 2020-02-29
@Swaer

Pagination of tables is a standard technique in web programming. You can do it yourself, but it's faster and more reliable to use packages. For example, here are the links
https://www.npmjs.com/package/react-paginate
https://www.npmjs.com/package/react-js-pagination

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question