Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 774 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 774 Bytes

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