# Optimize React Native Performance

React Native teams often lose time finding the real cause of slow screens, jank, large bundles, and leaks. This skill gives Claude, Codex, and Claude Code targeted guidance for profiling and fixing performance issues.

## Install

```bash
npx skillstore add callstackincubator/react-native-best-practices
```

## Metadata

- - Slug: callstackincubator-react-native-best-practices
- - Version: 1.0.0
- - Author: callstackincubator
- - GitHub username: callstackincubator
- - License: MIT
- - Repository: https://github.com/callstackincubator/agent-skills/tree/main/skills/react-native-best-practices/
- - Ref: main
- - Supported tools: Claude, Codex, Claude Code
- - Risk level: medium
- - Risk factors: external\_commands, env\_access, filesystem, scripts, network
- - Quality score: 50
- - Quality tier: warning
- - Public page: https://skillstore.pages.dev/skills/callstackincubator-react-native-best-practices
- - Manifest: https://skillstore.pages.dev/api/skills/callstackincubator-react-native-best-practices/manifest

## Capabilities

- Maps common React Native performance problems to focused reference files.
- Explains FPS measurement, React profiling, startup timing, and memory investigation workflows.
- Provides bundle size guidance for source-map-explorer, Expo Atlas, R8, tree shaking, and asset handling.
- Covers React patterns including FlashList, atomic state, concurrent rendering, uncontrolled inputs, and Reanimated worklets.
- Documents native performance topics such as Turbo Modules, threading, view flattening, memory patterns, and Android alignment.

## Use Cases

- Diagnose Janky Screens: Find whether dropped frames come from JavaScript work, native rendering, list rendering, or animation setup.
- Reduce Release Size: Analyze JavaScript and native bundle size, then choose practical fixes for imports, assets, R8, and tree shaking.
- Review Native Performance Choices: Evaluate Turbo Modules, native SDK choices, threading behavior, and Android platform requirements before shipping.

## Prompt Templates

### Find The Right Guide

```
My React Native app feels slow during scrolling and input. Use this skill to choose the best references and explain what to check first.
```

### Profile A Screen

```
Review this screen for React Native performance issues. Focus on re-renders, list rendering, expensive computation, and animation work.
```

### Plan Bundle Reduction

```
Create a bundle size reduction plan for my React Native app. Include measurement steps, likely offenders, and safe optimization order.
```

### Audit Native Architecture

```
Review my native module and startup architecture. Use this skill to assess TTI, threading, Hermes mmap, memory ownership, and Android alignment risks.
```

## Limitations

- It is documentation, not an automated profiler or benchmark runner.
- Some workflows require manual review of screenshots, treemaps, or native profiler output.
- Version guidance may need verification against the user project and current React Native releases.
- Several examples include shell commands that users should review before running.

## Best Practices

- Measure first with production-like builds before changing architecture or libraries.
- Optimize the highest-impact path first, usually FPS, startup, bundle size, or memory.
- Treat shell commands and remote loading examples as guidance that needs project review.

## Anti Patterns

- Do not apply every optimization without confirming the actual bottleneck.
- Do not migrate to Re.Pack or remote chunks only for minor bundle concerns.
- Do not run installer commands from documentation without verifying the source.

## Security Audit

- - Safe to publish: true
- - Audited at: 2026-06-28T20:10:35.03\+00:00
- - Summary: This is a documentation-only React Native performance skill. Static analysis mostly matched Markdown fences, shell examples, and performance terminology, not executable skill code. Publication is acceptable with warnings for pipe-to-shell installation guidance and remote chunk loading examples.

## Stats

- - Views: 209
- - Downloads: 4
- - Favorites: 0
- - Popularity score: 0
