Skip to content

Anupreet1213/infinite-scroll-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infinite Scrolling React App

This is a simple React application that implements infinite scrolling using a API to display a list of random users. When the user scrolls to the bottom of the page, more users are loaded and displayed.

Prerequisites

Before you begin, ensure you have met the following requirements:

Getting Started

To get this project up and running, follow these steps:

  1. Clone this repository to your local machine:

    git clone https://github.com/Anupreet1213/infinite-scroll-react.git
    
  2. Change into the project's directory:

    cd infinite-scroll-react
  3. Install the project dependencies:

    yarn install
  4. Start the development server:

    yarn dev

Usage

  • As you scroll down the page, the application will automatically load more users from the API.
  • Click on a user to view more details in a modal.
  • To close the modal, click outside of it or press the "Escape" key.

Built With

  • React
  • Axios
  • Intersection Observer API
  • TypeScript

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published