Loading...
Loading...
Complete React Native and Expo optimization guide combining Callstack profiling with Vercel code patterns. Covers FPS, TTI, bundle size, memory, lists, animations, state, UI, and React Compiler. Use for any React Native performance, debugging, or best practices task.
npx skill4agent add gigs-slc/react-native-skills react-native| Priority | Category | Impact | Source |
|---|---|---|---|
| 1 | Core Rendering | CRITICAL | Vercel |
| 2 | List Performance | CRITICAL | Both |
| 3 | FPS & Re-renders | CRITICAL | Callstack |
| 4 | Bundle Size | CRITICAL | Callstack |
| 5 | Animation | HIGH | Both |
| 6 | Navigation | HIGH | Vercel |
| 7 | TTI Optimization | HIGH | Callstack |
| 8 | UI Patterns | HIGH | Vercel |
| 9 | Native Performance | HIGH | Callstack |
| 10 | State Management | MEDIUM | Vercel |
| 11 | React Compiler | MEDIUM | Both |
| 12 | Memory Management | MEDIUM | Callstack |
| 13 | Monorepo | MEDIUM | Vercel |
rendering-no-falsy-andrendering-text-in-text-componentlist-performance-virtualizelist-performance-item-memolist-performance-callbackslist-performance-inline-objectslist-performance-function-referenceslist-performance-imageslist-performance-item-expensivelist-performance-item-typesanimation-gpu-propertiesanimation-derived-valueanimation-gesture-detector-pressnavigation-native-navigatorsui-expo-imageui-image-galleryui-pressableui-safe-area-scrollui-scrollview-content-insetui-menusui-native-modalsui-measure-viewsui-stylingreact-state-minimizereact-state-dispatcherreact-state-fallbackstate-ground-truthreact-compiler-destructure-functionsreact-compiler-reanimated-shared-valuesmonorepo-native-deps-in-appmonorepo-single-dependency-versionsfonts-config-pluginimports-design-system-folderjs-hoist-intl# Open React Native DevTools
# Press 'j' in Metro, or shake device → "Open DevTools"js-profile-react.mdjs-measure-fps.mdjs-react-compiler.mdjs-atomic-state.mdjs-concurrent-react.mdnpx react-native bundle \
--entry-file index.js \
--bundle-output output.js \
--platform ios \
--sourcemap-output output.js.map \
--dev false --minify true
npx source-map-explorer output.js --no-border-checksbundle-barrel-exports.mdbundle-analyze-js.mdbundle-tree-shaking.mdbundle-r8-android.mdbundle-hermes-mmap.mdnative-measure-tti.mdbundle-hermes-mmap.mdInteractionManagernative-turbo-modules.mdnative-threading-model.mdnative-profiling.mdjs-memory-leaks.mdnative-memory-leaks.mdnative-memory-patterns.mdjs-animations-reanimated.md| Problem | Vercel Rules | Callstack References |
|---|---|---|
| App crashes | | - |
| List scroll jank | | |
| Animation drops frames | | |
| Too many re-renders | | |
| Slow startup (TTI) | - | |
| Large app size | - | |
| Memory growing | - | |
| TextInput lag | - | |
| Native module slow | - | |
react-native/
├── SKILL.md # This file
├── AGENTS.md # Full 74KB compiled Vercel guide
├── rules/ # 36 individual Vercel rule files
│ ├── list-performance-*.md
│ ├── animation-*.md
│ ├── ui-*.md
│ └── ...
└── references/ # 27 Callstack reference files
├── js-*.md
├── native-*.md
├── bundle-*.md
└── images/