{"id":28149683,"url":"https://github.com/rescript-react-native/flash-list","last_synced_at":"2026-02-22T16:12:07.941Z","repository":{"id":288836123,"uuid":"969242716","full_name":"rescript-react-native/flash-list","owner":"rescript-react-native","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-19T21:43:17.000Z","size":112,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-25T11:15:35.937Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"ReScript","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/rescript-react-native.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["MoOx"]}},"created_at":"2025-04-19T17:56:18.000Z","updated_at":"2025-04-21T08:43:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"01a410bc-c0d7-4466-a33c-063cfe280dfe","html_url":"https://github.com/rescript-react-native/flash-list","commit_stats":null,"previous_names":["rescript-react-native/flash-list"],"tags_count":1,"template":false,"template_full_name":"rescript-react-native/__template__","purl":"pkg:github/rescript-react-native/flash-list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rescript-react-native%2Fflash-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rescript-react-native%2Fflash-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rescript-react-native%2Fflash-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rescript-react-native%2Fflash-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rescript-react-native","download_url":"https://codeload.github.com/rescript-react-native/flash-list/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rescript-react-native%2Fflash-list/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29718066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T15:10:41.462Z","status":"ssl_error","status_checked_at":"2026-02-22T15:10:04.636Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-05-15T02:14:14.293Z","updated_at":"2026-02-22T16:12:07.895Z","avatar_url":"https://github.com/rescript-react-native.png","language":"ReScript","funding_links":["https://github.com/sponsors/MoOx"],"categories":[],"sub_categories":[],"readme":"# `@rescript-react-native/flash-list`\n\n[![Build Status](https://github.com/rescript-react-native/flash-list/workflows/Build/badge.svg)](https://github.com/rescript-react-native/flash-list/actions)\n[![Version](https://img.shields.io/npm/v/@rescript-react-native/flash-list.svg)](https://www.npmjs.com/@rescript-react-native/flash-list)\n[![ReScript Forum](https://img.shields.io/discourse/posts?color=e6484f\u0026label=ReScript%20Forum\u0026server=https%3A%2F%2Fforum.rescript-lang.org)](https://forum.rescript-lang.org/)\n\n[ReScript](https://rescript-lang.org) bindings for\n[`flash-list`](https://github.com/Shopify/flash-list).\n\nExposed as `FlashList` module.\n\n`@rescript-react-native/flash-list` X.y.\\* means it's compatible with\n`@shopify/flash-list` X.y.\\*\n\n## Installation\n\nWhen\n[`@shopify/flash-list`](https://github.com/Shopify/flash-list)\nis properly installed \u0026 configured by following their installation instructions,\nyou can install the bindings:\n\n```console\nnpm install @rescript-react-native/flash-list\n# or\nyarn add @rescript-react-native/flash-list\n```\n\n`@rescript-react-native/flash-list` should be added to `bs-dependencies` in your\n`rescript.json`:\n\n```diff\n{\n  //...\n  \"bs-dependencies\": [\n    \"@rescript/react\",\n    \"rescript-react-native\",\n    // ...\n+    \"@rescript-react-native/flash-list\"\n  ],\n  //...\n}\n```\n\n## Usage\n\n### Methods\n\n#### `\u003cFlashList\u003e`\n\n```rescript\nopen ReactNative;\n\n@react.component\nlet make = () =\u003e {\n  \u003cFlashList\n    data={[{\"id\": \"1\", \"name\": \"Foo\"}]}\n    keyExtractor={(item, _) =\u003e item[\"id\"]}\n    renderItem={({item}) =\u003e\n      \u003cView\u003e\n        \u003cText\u003e {item[\"name\"]-\u003eReact.string} \u003c/Text\u003e\n      \u003c/View\u003e}\n  /\u003e\n}\n```\n\n---\n\n## Changelog\n\nCheck the [changelog](./CHANGELOG.md) for more informations about recent\nreleases.\n\n---\n\n## Contribute\n\nRead the\n[contribution guidelines](https://github.com/rescript-react-native/.github/blob/master/CONTRIBUTING.md)\nbefore contributing.\n\n## Code of Conduct\n\nWe want this community to be friendly and respectful to each other. Please read\n[our full code of conduct](https://github.com/rescript-react-native/.github/blob/master/CODE_OF_CONDUCT.md)\nso that you can understand what actions will and will not be tolerated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frescript-react-native%2Fflash-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frescript-react-native%2Fflash-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frescript-react-native%2Fflash-list/lists"}