vercel-react-native-skills

Applies React Native and Expo performance rules to component, list, and animation code.

Updated Aug 3, 2026
One-click install
npx skills add https://github.com/arfaomar/NotebookLM-Clone --skill vercel-react-native-skills-arfaomar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-native-skills
Source: https://github.com/arfaomar/NotebookLM-Clone/tree/main/.agents/skills/vercel-react-native-skills
Command: npx skills add https://github.com/arfaomar/NotebookLM-Clone --skill vercel-react-native-skills-arfaomar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? React Native apps frequently suffer from scroll jank, unnecessary re-renders, runtime crashes from falsy JSX rendering, and slow animations caused by layout-property animation. This Skill provides a prioritized rulebook of 35+ best practices so generated or refactored mobile code follows proven performance patterns from the start. ## Core Features & Use Cases - Prioritized Rule Catalog: 35+ rules across 13 categories ranked by impact (CRITICAL rendering rules down to LOW font-loading optimizations), each with incorrect vs. correct code examples. - List & Animation Optimization: Concrete guidance on virtualized lists (LegendList, FlashList), memoization with primitive props, Reanimated shared values, and GPU-accelerated transform/opacity animations. - Platform & Architecture Guidance: Native navigators, native modals and menus, monorepo dependency management, React Compiler compatibility, and Expo config plugins. - Use Case: When asked to build a chat feed screen, apply the list-performance rules to use a virtualized list with typed items, stable references, and compressed images instead of a ScrollView with mapped children. ## Quick Start Review my React Native feed screen component and refactor it using the list performance and rendering rules from this skill.

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 optimize FlatList performance in React Native?

Use a virtualized list like LegendList or FlashList instead of ScrollView, pass primitive props to memoized list items, keep stable object references, and hoist callbacks to the list root. Also request compressed, appropriately-sized images for list thumbnails.

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 a ternary with null, explicit boolean coercion, or an early return instead.

Should I animate width and height in React Native Reanimated?

No. Animating width, height, margin, or padding triggers layout recalculation on every frame. Animate transform properties like scale and translate, plus opacity, which run on the GPU without triggering layout.

Does this skill work with Expo and React Compiler projects?

Yes. It includes Expo-specific rules such as expo-image, expo-font config plugins, and expo-router native tabs, plus React Compiler rules like destructuring functions early and using .get()/.set() on Reanimated shared values.

When should I use native navigators instead of JS navigators?

Always prefer native navigators: @react-navigation/native-stack or expo-router's default stack, and react-native-bottom-tabs for tabs. They run transitions on the UI thread and provide platform behaviors like iOS large titles and proper safe area handling.