react-native-best-practices
Provides React Native performance optimization guidelines for FPS, TTI, bundle size, memory leaks, re-renders, and animations.
Skill by Callstack
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/iykazrji-react-native-best-practices
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
react-native-best-practices- Description
- Provides React Native performance optimization guidelines for FPS, TTI, bundle size, memory leaks, re-renders, and animations. Applies to tasks involving Hermes optimization, JS thread blocking, bridge overhead, FlashList, native modules, or debugging jank and frame drops.
- License
- MIT
- Metadata
- tags: react-native, expo, performance, optimization, profiling · author: Callstack
- Instructions
- 175 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# React Native Best Practices ## Overview Performance optimization guide for React Native applications, covering JavaScript/React, Native (iOS/Android), and bundling optimizations. Based on Callstack's "Ultimate Guide to React Native Optimization". ## Skill Format Each reference file follows a hybrid format for fast lookup and deep understanding: - **Quick Pattern**: Incorrect/Correct code snippets for immediate pattern matching - **Quick Command**: Shell commands for process/measurement skills - **Quick Config**: Configuration snippets for setup-focused skills - **Quick Reference**: Summary tables for conceptual skills - **Deep Dive**: Full context with When to Use, Prerequisites, Step-by-Step, Common Pitfalls **Impact ratings**: CRITICAL (fix immediately), HIGH (significant improvement), MEDIUM (worthwhile optimization) ## When to Apply Reference these guidelines when: - Debugging slow/janky UI or animations - Investigating memory leaks (JS or native) - Optimizing app startup time (TTI) - Reducing bundle or app size - Writing native modules (Turbo Modules) - Profiling React Native performance - Reviewing React Native code for performance ## Priority-Ordered Guidelines | Priority | Category | Impact | Prefix | |----------|----------|--------|--------| | 1 | FPS & Re-renders | CRITICAL | `js-*` | | 2 | Bundle Size | CRITICAL | `bundle-*` | | 3 | TTI Optimization | HIGH | `native-*`, `bundle-*` | | 4 | Native Performance | HIGH | `native-*` | | 5 | Memory Management | MEDIUM-HIGH | `js-*`, `native-*` | | 6 | Animations | MEDIUM | `js-*` | ## Quick Reference ### Critical: FPS & Re-renders **Profile first:** ```bash # Open React Native DevTools # Press 'j' in Metro, or shake device → "Open DevTools" ``` **Common fixes:** - Replace ScrollView with FlatList/FlashList for lists - Use React Compiler for automatic memoization - Use atomic state (Jotai/Zustand) to reduce re-renders - Use `useDeferredValue` for expensive computations ### Critical: Bundle Size **Analyze bundle:** ```bash npx 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-checks ``` **Common fixes:** - Avoid barrel imports (import directly from source) - Remove unnecessary Intl polyfills (Hermes has native support) - Enable tree shaking (Expo SDK 52+ or Re.Pack) - Enable R8 for Android native code shrinking ### High: TTI Optimization **Measure TTI:** - Use `react-native-performance` for markers - Only measure cold starts (exclude warm/hot/prewarm) **Common fixes:** - Disable JS bundle compression on Android (enables Hermes mmap) - Use native navigation (react-native-screens) - Defer non-critical work with `InteractionManager` ### High: Native Performance **Profile native:** - iOS: Xcode Instruments → Time Profiler - Android: Android Studio → CPU Profiler **Common fixes:** - Use background threads for heavy native work - Prefer async over sync Turbo Module methods - Use C++ for cross-platform performance-critical code ## References Full documentation with code examples in `references/`: ### JavaScript/React (`js-*`) | File | Impact | Description | |------|--------|-------------| | `js-lists-flatlist-flashlist.md` | CRITICAL | Replace ScrollView with virtualized lists | | `js-profile-react.md` | MEDIUM | React DevTools profiling | | `js-measure-fps.md` | HIGH | FPS monitoring and measurement | | `js-memory-leaks.md` | MEDIUM | JS memory leak hunting | | `js-atomic-state.md` | HIGH | Jotai/Zustand patterns | | `js-concurrent-react.md` | HIGH | useDeferredValue, useTransition | | `js-react-compiler.md` | HIGH | Automatic memoization | | `js-animations-reanimated.md` | MEDIUM | Reanimated worklets | | `js-uncontrolled-components.md` | HIGH | TextInput optimization | ### Native (`native-*`) | File | Impact | Description |
From iykazrji/scout, MIT.
More from iykazrji/scout
- 0.469score
execute-issues
iykazrji
Execute open GitHub issues from a PRD breakdown — implement each issue as a named Builder agent in isolated branches, create verified PRs, with…
SkillCFreshness: CClaude Code +9 - 0.461score
ui-designer
iykazrji
Platform-agnostic UI design orchestrator — produces visual mockups, design systems, and screen specs via a multi-agent pipeline.
SkillCFreshness: CClaude Code +9 - 0.461score
scout
iykazrji
End-to-end feature orchestrator — grills the user on their idea, writes a PRD, breaks it into issues, and executes them with verified PRs.
SkillCFreshness: CClaude Code +9 - 0.445score
codebase-design
iykazrji
Shared vocabulary for designing deep modules.
SkillCFreshness: CClaude Code +9 - 0.445score
domain-modeling
iykazrji
Build and sharpen a project's domain model.
SkillCFreshness: CClaude Code +9 - 0.406score
animation-performance
iykazrji
Provides React Native Reanimated, React Native Worklets, React Native Gesture Handler performance optimization guidelines for smooth animations.
SkillDFreshness: DClaude Code +9 - 0.405score
expressjs-best-practices
iykazrji
Express.js best practices for building production-grade REST APIs and web servers.
SkillDFreshness: DClaude Code +9 - 0.405score
using-react-native-skia
iykazrji
Use when writing SKSL shaders, rendering Skia Canvas content, capturing views as SkImage, handling PixelRatio/supersampling, or building shader-based visual…
SkillDFreshness: DClaude Code +9 - 0.405score
grill-me
iykazrji
Use when user wants to stress-test a plan, get grilled on their design, says 'grill me', or wants rigorous interrogation of their thinking before implementation
SkillDFreshness: DClaude Code +9 - 0.402score
reconn
iykazrji
Deep research agent — searches codebase, web, and notes (QMD/claude-mem) for technical context.
SkillDFreshness: DClaude Code +9 - 0.402score
fastify-best-practices
iykazrji
Fastify best practices for building high-performance REST APIs and microservices.
SkillDFreshness: DClaude Code +9 - 0.380score
write-a-prd
iykazrji
Use when the user wants to create a Product Requirements Document, write a PRD, define product requirements, or prepare a feature spec for a GitHub issue.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Apr 1, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/iykazrji/scout
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.784score
react-native-best-practices
callstackincubator
Provides React Native performance optimization guidelines for FPS, TTI, bundle size, memory leaks, re-renders, and animations.
SkillBFreshness: B★ 1.7KClaude Code +9 - 0.336score
react-native-best-practices
ilteoood
Provides React Native performance optimization guidelines for FPS, TTI, bundle size, memory leaks, re-renders, and animations.
SkillBFreshness: B★ 2Claude Code +9 - 0.316score
react-native-best-practices
mrbam88
Provides React Native performance optimization guidelines for FPS, TTI, bundle size, memory leaks, re-renders, and animations.
SkillBFreshness: BClaude Code +9
More from Callstack
- 0.721score
validate-skills
Callstack
Validates skills in this repo against agentskills.io spec and Claude Code best practices.
SkillCFreshness: C★ 1.7KClaude Code +9 - 0.501score
react-native-brownfield-migration
Callstack
Provides an incremental adoption strategy to migrate native iOS or Android apps to React Native or Expo using @callstack/react-native-brownfield for initial…
SkillDFreshness: D★ 30Claude Code +9 - 0.498score
callstack-best-practices
Callstack
Provides React Native performance optimization guidelines for FPS, TTI, bundle size, memory leaks, re-renders, and animations.
SkillDFreshness: D★ 30Claude Code +9
Cite this page
react-native-best-practices skill. Agent Mart. https://agentmart.dev/skills/iykazrji-react-native-best-practices (last updated 2026-10-24)