---
title: "Discussion on \"2 ways to implement infinite scroll in javascript\" | Hashnode"
description: "Discussion on \"2 ways to implement infinite scroll in javascript\". Fetching a list from database is always a requirement in almost every app. To cater this, the concept of pagination was introduced. Which helps to fetch data in small chunks to load into UI.\nP.S: Fetch data in chunks (via pagenumber)\nTo achieve this ..."
url: "https://hashnode.com/posts/2-ways-to-implement-infinite-scroll-in-javascript/669443f968bb2b5870b02c7f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [2 ways to implement infinite scroll in javascript](https://jayeshadwani.hashnode.dev/2-ways-to-implement-infinite-scroll-in-javascript?utm_source=hashnode&utm_medium=feed)

Fetching a list from database is always a requirement in almost every app. To cater this, the concept of pagination was introduced. Which helps to fetch data in small chunks to load into UI. P.S: Fetch data in chunks (via pagenumber) To achieve this ...

Jul 14, 2024 · 3 min read · jayeshadwani.hashnode.dev  
Read the article

-   [#infinite-scrolling](https://hashnode.com/tag/infinite-scrolling)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#scroll](https://hashnode.com/tag/scroll)

## Written by

[Jayesh Adwani](https://hashnode.com/@jayesh561)

@jayesh561

  
[View profile](https://hashnode.com/@jayesh561)

Idk

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
