Answer the question
In order to leave comments, you need to log in
How to load data from database in chunks?
The database has a table with an unlimited number of messages. How to make react load data in chunks into redux state? In my view, new data will be loaded as soon as the user reaches the end of the scroll.
I use fetch to communicate with the backend
Answer the question
In order to leave comments, you need to log in
Read what pagination is and implement it on the server side.
The request URL will look something like this:
There can be as many parameters as you like, including sorting, searching, and filtering.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question