# ankeetmaini/react-infinite-scroll-component

An awesome Infinite Scroll component in react.

Repository: https://github.com/ankeetmaini/react-infinite-scroll-component
Canonical: https://ross.abutalabs.com/products/react-infinite-scroll-component
Homepage: https://react-infinite-scroll-component.netlify.com/
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, infinite-scroll, infinite-lists, component, npm-package
Last push: 2026-06-06T19:37:02+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 86, release rhythm 87, longevity 100
- inputs: {"age_days": 3821, "days_push": 88, "days_rel": 88, "gap_med": 14, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3089, forks 332 (observed 2026-08-28T04:07:42.238199+00:00)

## What it is
A lightweight React library providing an InfiniteScroll component and a useInfiniteScroll hook for loading more content as the user scrolls. It is IntersectionObserver-based, TypeScript-first, has zero runtime dependencies, and supports window scroll, fixed-height containers, pull-to-refresh, and inverse (chat) scrolling.

## Use cases
- implement infinite scroll in a react app
- lazy-load more items as user scrolls a feed
- add pagination without page numbers
- build a chat with inverse scrolling
- add pull-to-refresh to a react list
- infinite scroll inside a fixed-height scrollable container

## When to choose
- you need a small (~4 kB), dependency-free infinite scroll solution for React 17-19
- you want both a ready-made component with loader/end messages and a headless hook
- you need pull-to-refresh or chat-style inverse scrolling out of the box

## When to avoid
- you need virtualized rendering for very large lists (use react-window or react-virtualized)
- your project is not React-based
- you need cursor-based pagination UI beyond simple next-page loading

## Facets
- artifact type: library
- maturity: active
- function: ui-components, frontend-framework
- domain: frontend, web-development
- platform: browser
- tags: react, infinite-scroll, intersection-observer, pagination, pull-to-refresh, typescript, zero-dependencies, react-hooks, nodejs, web-server

## Member repositories
- ankeetmaini/react-infinite-scroll-component (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:42.238199+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:27:29.798863+00:00, confidence not recorded.
  - readme: https://github.com/ankeetmaini/react-infinite-scroll-component (fetched 2026-08-28T04:07:42.238199+00:00, sha 871c5a002a0d)
  - registry_npm: https://registry.npmjs.org/react-infinite-scroll-component (fetched 2026-08-29T09:42:54.396452+00:00, sha c0c4717a71ca)
- Data as of 2026-08-30T08:39:29.467469+00:00.
