flash-list
CLAUDE.md7.2k starsChanged 8 months agoMITView on GitHub
High-performance replacement for React Native's FlatList, built on recycling principles. Used by thousands of React Native apps for smooth scrolling with large datasets. estimatedItemSize does NOT exist as a prop on FlashList. Do not use it, suggest it, or add it. Important: dist/ is NOT rebuilt on branch switch. Always run yarn build after checking out a different branch. Node 22.18.0 All agent-raised PRs MUST use SHOPIFY_GH_ACCESS_TOKEN for PR creation. PRs created without this token cannot be merged. Before finishing…
- Reads credentials
- Commits and pushes
Trending
Quiet since September.about the whole repository
Who's talking about Shopify/flash-list
- wonday/react-native-pdf“feat: support rn 77”GitHub · Jan 23, 2025 · 26 reactions
- computerjazz/react-native-draggable-flatlist“FlashList Integration”GitHub · Aug 15, 2022 · 19 reactions
- software-mansion/react-native-reanimated“Bump example apps to React Native 0.77”GitHub · Nov 27, 2024 · 11 reactions
- PedroBern/react-native-collapsible-tab-view“Using Custom Components”GitHub · Aug 2, 2022 · 8 reactions
- gorhom/react-native-bottom-sheet“Is there any plan integrate FlashList to this library ?”GitHub · Jul 7, 2022 · 5 reactions
The biggest 5 of 19 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 19
Talked about on GitHub and Bluesky (19 times).
On GitHub · 18
- Jan 23, 2025feat: support rn 77 — wonday/react-native-pdf26 reactions · 7 comments
- Aug 15, 2022FlashList Integration — computerjazz/react-native-draggable-flatlist19 reactions · 4 comments
- Nov 27, 2024Bump example apps to React Native 0.77 — software-mansion/react-native-reanimated11 reactions · 2 comments
- Aug 2, 2022Using Custom Components — PedroBern/react-native-collapsible-tab-view8 reactions · 6 comments
- Jul 7, 2022Is there any plan integrate FlashList to this library ? — gorhom/react-native-bottom-sheet5 reactions · 4 comments
13 more on GitHub
- Apr 1, 2026[Android] IllegalStateException: EdgeToEdgeReactViewGroup contains null child during dispatchGetDisplayList — react/react-native4 reactions · 5 comments
- Jan 4, 2025Pressable onPress fires when scrolling FlatList — react/react-native3 reactions · 3 comments
- Sep 10, 2026chore(mobile): upgrade flash-list to 2.3.2 and repair Expo SDK 57 — Kilo-Org/cloud2 reactions · 1 comment
- Mar 11, 2026chore(deps): bump @shopify/flash-list from 2.0.2 to 2.3.0 — RipKDR/Steps-to-recovery2 reactions · 3 comments
- Nov 8, 2022Fabric Support ? — howljs/react-native-calendar-kit2 reactions · 1 comment
- Aug 4, 2026chore(deps): bump the production-dependencies group across 1 directory with 59 updates — wcpos/monorepo1 reaction · 5 comments
- Jun 17, 2026chore(deps): bump @shopify/flash-list from 2.3.1 to 2.3.2 in /apps/web/react — Enflame-Media-LLC/MagicAgent1 reaction · 1 comment
- Feb 23, 2026chore(deps)(deps): bump the security-updates group across 1 directory with 12 updates — IgorGanapolsky/MetaChrome1 reaction · 3 comments
- Feb 2, 2026chore(deps)(deps): bump the security-updates group across 1 directory with 28 updates — IgorGanapolsky/MetaChrome1 reaction · 2 comments
- Oct 13, 2025Grouper les photos par date — Sidoine/galerie1 reaction
- May 2, 2024[Bug]: useAnimatedScrollHandler is not working properly with React Native FlashList in version 3.9+ — software-mansion/react-native-reanimated1 reaction · 5 comments
- Apr 17, 2024RTL support — SimformSolutionsPvtLtd/react-native-story-view1 reaction · 1 comment
- Sep 4, 2022FlashList support ? — zyslife/react-native-head-tab-view1 reaction · 1 comment
On Bluesky · 1
- Jan 8, 2026I’d highlight recommend using flashList github.com/Shopify/flas... - it will change your live going forward! — @flikq.dev1 likes and repost · 1 reply
In this repository7 other files it gives its agents.
- agent-deviceSkill
- analyze-feedbackSkill
- fix-github-issueSkill
- raise-prSkill
- review-and-testSkill
- triage-issueSkill
- upgrade-react-nativeSkill
The file
We split this CLAUDE.md into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 32
Use conventional commits: fix(scope): description, feat(scope): description
- Very specific: line 34
Do NOT include any AI attribution (no Co-Authored-By AI lines, no "Generated by" or "Assisted by" text)
- Very specific: line 43
When creating a PR, always use: GH_TOKEN="$AGENT_PR_TOKEN" gh pr create ...
- Very specific: line 45
Never: use bare gh pr create without the GH_TOKEN="$AGENT_PR_TOKEN" prefix — the PR will be unmergeable.
- Distinctive: line 71
When you discover something important during a session — a pitfall, a non-obvious behavior, a debugging technique, or a pattern that would …
- Distinctive: line 88
Keep entries concise — one line per pitfall, with enough context to be useful
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
flash-list
High-performance replacement for React Native's FlatList, built on recycling principles. Used by thousands of React Native apps for smooth scrolling with large datasets.
Source Layout
src/— library source code (TypeScript)fixture/react-native/— React Native test/demo appdist/— compiled output (NOT auto-rebuilt on branch switch)
Key Constraint
estimatedItemSize does NOT exist as a prop on FlashList. Do not use it, suggest it, or add it.
Build & Test
yarn build # compile TypeScript to dist/
yarn test --forceExit
yarn type-check
yarn lintImportant: dist/ is NOT rebuilt on branch switch. Always run yarn build after checking out a different branch.
Node Version
Node 22.18.0
Commit & PR Conventions
- Use conventional commits:
fix(scope): description,feat(scope): description - Scope examples:
layout,hooks,scroll,sticky-headers,recycling,viewability - Do NOT include any AI attribution (no
Co-Authored-ByAI lines, no "Generated by" or "Assisted by" text) - PR titles should be under 70 characters and match the commit format
- Link issues with
Fixes #<number>in the commit/PR body
Agent PR Token (MANDATORY)
All agent-raised PRs MUST use SHOPIFY_GH_ACCESS_TOKEN for PR creation. PRs created without this token cannot be merged.
- On CI: The token is available as
$AGENT_PR_TOKENenvironment variable in agent workflows. - When creating a PR, always use:
GH_TOKEN="$AGENT_PR_TOKEN" gh pr create ... - The default
GITHUB_TOKENis used for all other operations (issue comments, push, checkout). Only PR creation usesAGENT_PR_TOKEN. - Never use bare
gh pr createwithout theGH_TOKEN="$AGENT_PR_TOKEN"prefix — the PR will be unmergeable.
CI Cleanup (MANDATORY)
Before finishing on CI, kill all background processes you started — especially Metro (port 8081). Leftover processes prevent the GitHub Actions job from exiting, causing it to run until timeout and waste CI minutes.
lsof -ti:8081 | xargs kill -9 2>/dev/null || trueAvailable Skills
Skills are reusable workflows in .claude/skills/. Use them when relevant:
| Skill | When to use |
fix-github-issue | Fixing a bug end-to-end: reproduce, diagnose, fix, verify on simulator, PR |
raise-pr | Creating a PR with proper conventional commit format and no AI attribution |
review-and-test | Reviewing a PR or branch: unit tests, type-check, lint, device testing, RTL/LTR |
triage-issue | Classifying an issue (P0/P1/P2), finding duplicates, applying labels |
agent-device | Interacting with iOS simulator or Android emulator (snapshot-based coordinates) |
upgrade-react-native | Upgrading the fixture app's React Native version |
analyze-feedback | Scanning agent workflow feedback artifacts and incorporating learnings into skills |
Self-Learning
When you discover something important during a session — a pitfall, a non-obvious behavior, a debugging technique, or a pattern that would save time in the future — update the relevant skill file or this file so the knowledge persists.
What to capture:
- New pitfalls or edge cases discovered while fixing bugs
- Debugging techniques that worked (or didn't)
- Corrections to existing instructions that turned out to be wrong
- Non-obvious behaviors of FlashList, React Native, or the build system
Where to put it:
- Bug/fix patterns →
fix-github-issueskill (Common Pitfalls section) - Testing edge cases →
review-and-testskill (Edge Cases section) - Device interaction quirks →
agent-deviceskill - Project-wide facts → this file (
CLAUDE.md) - Batch analysis of agent feedback → use the
analyze-feedbackskill to scan workflow artifacts
How:
- Include the update in the same PR as the fix (not a separate PR)
- Keep entries concise — one line per pitfall, with enough context to be useful
- On CI, only add critical learnings (things that would cause repeated failures). Minor improvements should wait for interactive sessions.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

