{"id":19226038,"url":"https://github.com/samouss/react-infinite-scroll-list","last_synced_at":"2025-08-01T13:34:40.248Z","repository":{"id":11133693,"uuid":"68477312","full_name":"samouss/react-infinite-scroll-list","owner":"samouss","description":"Manage infinite list with the IntersectionObserver API","archived":false,"fork":false,"pushed_at":"2025-07-22T09:34:42.000Z","size":2398,"stargazers_count":22,"open_issues_count":20,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-22T11:37:16.962Z","etag":null,"topics":["infinite","infinite-lists","infinite-scroll","intersection-observer","react","scroll"],"latest_commit_sha":null,"homepage":"http://samouss.github.io/react-infinite-scroll-list","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samouss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-09-17T20:46:37.000Z","updated_at":"2023-04-18T04:32:11.000Z","dependencies_parsed_at":"2023-02-19T00:01:22.631Z","dependency_job_id":"8a0c3a6e-eeeb-46e4-b977-c94a6f2fd984","html_url":"https://github.com/samouss/react-infinite-scroll-list","commit_stats":null,"previous_names":["samouss/react-infinite-list"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/samouss/react-infinite-scroll-list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samouss%2Freact-infinite-scroll-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samouss%2Freact-infinite-scroll-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samouss%2Freact-infinite-scroll-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samouss%2Freact-infinite-scroll-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samouss","download_url":"https://codeload.github.com/samouss/react-infinite-scroll-list/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samouss%2Freact-infinite-scroll-list/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268231595,"owners_count":24217035,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["infinite","infinite-lists","infinite-scroll","intersection-observer","react","scroll"],"created_at":"2024-11-09T15:17:08.790Z","updated_at":"2025-08-01T13:34:40.192Z","avatar_url":"https://github.com/samouss.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Infinite List\n\n[![npm version](https://badge.fury.io/js/react-infinite-scroll-list.svg)](https://badge.fury.io/js/react-infinite-scroll-list) [![Build Status](https://travis-ci.org/samouss/react-infinite-scroll-list.svg?branch=master)](https://travis-ci.org/samouss/react-infinite-scroll-list)\n\n## Installation\n\n```\nyarn add react-infinite-scroll-list\n```\n\n**Note:** This library is based on the [IntersectionObserver](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) API, it's not yet widely supported.\nCheck the [compatibility table](http://caniuse.com/#feat=intersectionobserver) and add a [Polyfill](https://github.com/w3c/IntersectionObserver/tree/gh-pages/polyfill) to your needs!\n\n\u003e Check out the example on [Storybook](http://samouss.github.io/react-infinite-scroll-list)\n\n## Usage\n\nImport the module in your application:\n\n```js\n// From ES6\nimport InfiniteList from 'react-infinite-scroll-list';\n\n// From CJS\nconst InfiniteList = require('react-infinite-scroll-list').default;\n\n// From global\nconst InfiniteList = ReactInfiniteScrollList.default;\n```\n\nThen use it juste like that:\n\n```js\n\u003cInfiniteList\n  root=\"container|viewport\"\n  isLoading={true | false}\n  isEndReached={true | false}\n  onReachThreshold={() =\u003e {\n    console.log('Load more content');\n  }}\n  containerClassName=\"custom-container-class-name\"\n  sentinelClassName=\"custom-sentinel-class-name\"\n  containerTagName=\"div\"\n  sentinelTagName=\"div\"\n  threshold={0}\n\u003e\n  {items.map(item =\u003e \u003cdiv key={item.id}\u003e{item.message}\u003c/div\u003e)}\n\u003c/InfiniteList\u003e\n```\n\n## Run Storybook\n\n```\nyarn start-storybook\n```\n\n## Build Storybook\n\n```\nyarn build-storybook\n```\n\n## Run the test\n\n```\nyarn test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamouss%2Freact-infinite-scroll-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamouss%2Freact-infinite-scroll-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamouss%2Freact-infinite-scroll-list/lists"}