Answer the question
In order to leave comments, you need to log in
Which library is convenient for infinite loading on react?
For the blog feed. Posts should be loaded in 6 pieces. Now I have React Infinite Scroller connected. But I can't figure out how to load 6 posts. Maybe something more convenient?
Answer the question
In order to leave comments, you need to log in
Judging by the github, the infinite scroller is developing and the documentation is not bad, I suggest that you deal with this library.
You need to describe the loading function (and this is good), in the example there is ( the beginning and the body of the function ).
It is unlikely that there will be a library that will allow you to set the "nextPages (6)" parameter and that's it .. since, for good, such libraries should not know about the logic for loading (it is different for all projects).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question