{"id":16688197,"url":"https://github.com/fcsonline/react-chop","last_synced_at":"2026-03-14T05:04:16.040Z","repository":{"id":65372656,"uuid":"81986461","full_name":"fcsonline/react-chop","owner":"fcsonline","description":"A react-virtualized alternative without measuring","archived":false,"fork":false,"pushed_at":"2017-03-30T14:28:25.000Z","size":150,"stargazers_count":10,"open_issues_count":3,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T02:21:40.357Z","etag":null,"topics":["infinite-scroll","performance","react","scrollbar","scrolling"],"latest_commit_sha":null,"homepage":"","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/fcsonline.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-14T20:34:48.000Z","updated_at":"2025-02-05T15:38:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"dabd196a-4945-4c63-85fc-e16bf82a82bb","html_url":"https://github.com/fcsonline/react-chop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcsonline%2Freact-chop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcsonline%2Freact-chop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcsonline%2Freact-chop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcsonline%2Freact-chop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fcsonline","download_url":"https://codeload.github.com/fcsonline/react-chop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137790,"owners_count":21053770,"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","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-scroll","performance","react","scrollbar","scrolling"],"created_at":"2024-10-12T15:27:12.818Z","updated_at":"2026-03-14T05:04:11.006Z","avatar_url":"https://github.com/fcsonline.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## react-chop\n\n[![Build Status](https://travis-ci.org/react-chop/react-chop.svg?branch=master)](https://travis-ci.org/react-chop/react-chop)\n![NPM version](https://img.shields.io/npm/v/react-chop.svg?style=flat)\n![NPM license](https://img.shields.io/npm/l/react-chop.svg?style=flat)\n![NPM total downloads](https://img.shields.io/npm/dt/react-chop.svg?style=flat)\n![NPM monthly downloads](https://img.shields.io/npm/dm/react-chop.svg?style=flat)\n\nA react-virtualized alternative without measuring.\n\n\u003e *Let the browser do its job* — Ferran Basora\n\nCheck this out:\n\n![react-chop](https://cloud.githubusercontent.com/assets/135988/24015189/fb8c00de-0a87-11e7-9808-00256a43333e.gif)\n\nSome demos: [here](https://)\n\n## Install\n\n```\nnpm install react-chop --save\n```\n\nor:\n\n```\nyarn add react-chop\n```\n\n## Example\n\nFor example, take the following code:\n\n```js\nimport ChopList from 'react-chop';\n\nconst SIZE = 10000;\n\nclass App extends Component {\n\n  constructor(props) {\n    super(props);\n\n    this.state = {\n      list: Array.from({length: SIZE}, (_, i) =\u003e i)\n    };\n  }\n\n  itemRenderer ({ key, index, style}) {\n    const { list } = this.state;\n\n    return (\n        \u003cdiv key={key} className='Item'\u003e\n          {list[index]}\n        \u003c/div\u003e\n    )\n  }\n\n  render () {\n    const { list } = this.state;\n\n    \u003cChopList\n      itemCount={list.length}\n      itemRenderer={this.itemRenderer.bind(this)}\n    /\u003e\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffcsonline%2Freact-chop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffcsonline%2Freact-chop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffcsonline%2Freact-chop/lists"}