It's a technique called 'infinite scroll' (infinite scroll)
The general rule is to run an event that brings more text when the scroll bar goes down to the bottom.
If you send the last id of the article to the server together, you will get some of the previous posts based on the last id.
If you search infinite scroll or infinite scroll on Google, you'll get a lot of examples
© 2024 OneMinuteCode. All rights reserved.