Skip to content

abhisheksharma571/Infinite-Scroll

Repository files navigation

Infinite Scroll in React

Overview

This project demonstrates an infinite scroll feature in a React application using scroll events. More items are dynamically loaded as the user scrolls to the bottom of the page.

Features

  • Dynamic loading of items on scroll
  • React state management
  • Loading indicator during fetch

Components

  • InfiniteScroll: Manages the scroll logic and item state.
  • Item: Renders individual items.
  • Loading: Displays a loading indicator.

Installation

  1. Clone the repository:

    git clone https://github.com/abhisheksharma571/Infinite-Scroll.git
    
    cd infinite-scroll
  2. Install dependencies::

    npm install
  3. Run the application::

    npm run dev

About

Infinite Scroll in React Using Scroll Events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published