Skip to content
Back to skills

Add Flashlist

ASecurity

Replace FlatList with FlashList v2 for high-performance lists. Use when the user says 'FlashList', 'FlatList performance', 'long list', 'scroll performance'.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 4, 2026
developmentbashperformance

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned October 4, 2026

npx -y skills add khadinakbarlabs/expo-mobile-app-builder --skill add-flashlist --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Flashlist?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Flashlist
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/khadinakbarlabs-add-flashlist/badge)](https://www.skillsdirectory.com/skills/khadinakbarlabs-add-flashlist)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "add-flashlist"
description: "Replace FlatList with FlashList v2 for high-performance lists. Use when the user says 'FlashList', 'FlatList performance', 'long list', 'scroll performance'."
---

# Add FlashList

FlashList v2 — JS-only rewrite, no estimates needed, supports any-size horizontal items. The 2026 default for any list with >50 items.

## Install
```bash
npm exec --no -- expo install @shopify/flash-list
```

## Replace FlatList
```tsx
import { FlashList } from '@shopify/flash-list';

<FlashList
  data={items}
  renderItem={({ item }) => <Row item={item} />}
  keyExtractor={(item) => item.id}
  // No more estimatedItemSize required in v2
/>
```

## Pull-to-refresh
```tsx
<FlashList
  data={items}
  renderItem={renderItem}
  refreshing={isRefreshing}
  onRefresh={refetch}
/>
```

## Infinite scroll
```tsx
<FlashList
  data={items}
  renderItem={renderItem}
  onEndReached={() => fetchNextPage()}
  onEndReachedThreshold={0.5}
  ListFooterComponent={isFetchingNextPage ? <Spinner /> : null}
/>
```

## Multiple item types (mixed list)
```tsx
<FlashList
  data={mixedItems}
  renderItem={({ item }) => {
    if (item.type === 'header') return <Header />;
    if (item.type === 'product') return <Product item={item} />;
    return <Ad item={item} />;
  }}
  getItemType={(item) => item.type}
/>
```

## Reference
`references/01-expo-sdk-54.md`

Files in this skill

  • SKILL.md1.3 KB
  • agents/openai.yaml170 B
  • references/01-expo-sdk-54.md1.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…