vercel-react-native-skills
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
Install
npx skills add https://github.com/vercel-labs/agent-skills --skill vercel-react-native-skills- title
- Use a List Virtualizer for Any List
- impact
- HIGH
- impactDescription
- reduced memory, faster mounts
- tags
- lists, performance, virtualization, scrollview
Use a List Virtualizer for Any List
Use a list virtualizer like LegendList or FlashList instead of ScrollView with mapped children—even for short lists. Virtualizers only render visible items, reducing memory usage and mount time. ScrollView renders all children upfront, which gets expensive quickly.
Incorrect (ScrollView renders all items at once):
Correct (virtualizer renders only visible items):
Alternative (FlashList):
Benefits apply to any screen with scrollable content—profiles, settings, feeds, search results. Default to virtualization.