vercel-react-native-skills

Applies React Native and Expo performance rules to mobile app code.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/quangtuyennguyen/loan-application-workflow --skill vercel-react-native-skills-quangtuyennguyen
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: vercel-react-native-skills
Source: https://github.com/quangtuyennguyen/loan-application-workflow/tree/main/.claude/skills/vercel-react-native-skills
Command: npx skills add https://github.com/quangtuyennguyen/loan-application-workflow --skill vercel-react-native-skills-quangtuyennguyen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? React Native apps often suffer from scroll jank, unnecessary re-renders, runtime crashes, and slow animations caused by common coding mistakes. This Skill provides a structured rulebook of 35+ best practices so AI agents and developers can generate, review, and refactor React Native code that performs correctly on mobile devices. ## Core Features & Use Cases - Prioritized Rule Set: 35+ rules across 13 categories ranked by impact, from CRITICAL rendering rules (avoiding falsy && crashes, wrapping strings in Text) to HIGH-impact list virtualization and animation guidance. - Incorrect vs. Correct Examples: Every rule includes side-by-side code comparisons with explanations, making it directly usable for automated refactoring and code review. - Use Case: When building a product feed screen, apply the list performance rules to virtualize with LegendList or FlashList, pass primitive props for memoization, and use compressed images to eliminate scroll jank. ## Quick Start Review my React Native list component and apply the performance rules from this skill to fix re-render and scroll issues.

Frequently Asked Questions about vercel-react-native-skills

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I improve FlatList performance in React Native?▼

Use a virtualized list like LegendList or FlashList instead of ScrollView, pass primitive props to memoized list items, hoist callbacks to the list root, and avoid inline objects in renderItem. Keep list items lightweight with no queries or expensive computations.

Why does my React Native app crash with conditional rendering?▼

Using {value && <Component />} crashes when value is an empty string or 0, because React Native tries to render the falsy value as text outside a Text component. Use ternary expressions, explicit boolean coercion, or early returns instead.

Should I use FlashList or LegendList for large lists?▼

Both are recommended virtualizers that render only visible items, reducing memory and mount time compared to ScrollView. LegendList additionally supports getItemType for heterogeneous lists with separate recycling pools per item type.

Does this skill work with Expo and React Compiler projects?▼

Yes, the rules cover Expo-specific patterns like expo-image, expo-font config plugins, and expo-router native navigators. Several rules also address React Compiler compatibility, such as using .get()/.set() on Reanimated shared values.

What animations should I avoid in React Native?▼

Avoid animating width, height, margin, or padding since they trigger layout recalculation every frame. Animate transform and opacity instead, which run on the GPU, and use GestureDetector with shared values for press-state animations on the UI thread.