Dev & Engineering react-nativeexpoperformance-profilingbundle-optimizationhermesturbo-modulesmemory-leaks

React Native Performance Guide

Diagnose and improve React Native performance with measured, evidence-based guidance.

FollowSkills review · FSRS-2.0
Use with care
60/ 100 5-point scale 3.0 / 5
Trust18 / 25 · 3.6/5

The skill explicitly requires measurement before changes, dependency review, avoiding direct remote-script execution, and strong safeguards for remote code loading such as HTTPS, signed manifests, allowlists, and fail-closed behavior. It requests no credentials or sensitive data. However, most commands are not version-pinned, and confirmation, rollback, and complete data-flow boundaries are not specified, so 7 points are deducted.

Reliability9 / 20 · 2.3/5

The main file, POWER.md, and reference index are broadly consistent and provide a measure-optimize-remeasure-validate cycle, version conditions, and manual fallbacks. However, there are no committed tests covering key paths, and tool availability and abnormal-input diagnostics remain uncertain. The static cap limits this to 9, with deductions for reproduction and failure feedback.

Adaptability11 / 15 · 3.7/5

The audience, trigger scenarios, problem-to-reference routing, and applicability across Hermes, Expo, and native projects are reasonably clear. Non-fit boundaries, input/output contracts, Chinese-language support, and mainland-China network reachability are not documented; some workflows depend on local device tooling and overseas services, so 4 points are deducted.

Convention10 / 15 · 3.3/5

The material is well organized across JavaScript, Native, and Bundling, with indexes, commands, examples, pitfalls, MIT licensing, and Codex metadata. Version policy, changelog, maintenance ownership, and update path are not clearly defined within the skill, and version applicability remains incomplete, so 5 points are deducted.

Effectiveness7 / 15 · 2.3/5

It covers FPS, TTI, bundle size, memory, native performance, and animations, with problem routing and directly usable command examples. Outcomes still depend on project configuration, device tooling, and human analysis, with no verified representative outputs. The static cap is 7, with deductions for limited correctness and benefit evidence.

Verifiability5 / 10 · 2.5/5

The files provide concrete commands, measurement metrics, before/after examples, reference paths, and Callstack attribution, giving some auditability. This review did not execute anything; committed test suites, CI coverage, and independent cross-source corroboration are absent. The static cap limits this to 5, with deductions for insufficient independent reproduction evidence.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision f6b87e35a35c
Before you use it
  • Before running npx, Gradle, xcodebuild, bundle-phobia, or remote chunk loading, verify versions, provenance, network access, and project configuration; example performance numbers are not universal guarantees.
  • Remote JavaScript chunks create a high-risk code-execution boundary and require verified signed manifests, fixed origins, release binding, and fail-closed behavior.
  • Not all referenced files were provided in the static material; validate important recommendations against the project's React Native, Expo, Hermes, and Re.Pack versions.
See the full review method →

What does this skill do, and when should you use it?

This skill provides optimization guidance for React Native JavaScript/React code, native iOS and Android code, and bundling. It covers FPS, re-renders, startup time, bundle size, memory leaks, native modules, and animation jank. Its central workflow is “Measure → Optimize → Re-measure → Validate,” with recommendations ordered by impact. The material is based on Callstack’s “The Ultimate Guide to React Native Optimization.”

It directs an assistant to capture baseline metrics, then use tools such as agent-device React DevTools, React Native DevTools, Xcode Instruments, Android Studio CPU Profiler, react-native-performance, React Native bundle, and source-map-explorer. It then maps evidence to targeted changes involving list virtualization, state granularity, React Compiler, Hermes, Turbo Modules, R8, or code splitting, followed by repeat measurement and validation.

  1. A React Native developer is investigating dropped frames, janky animations, or unstable FPS and needs profiling of the actual interaction.
  2. A team sees excessive component re-renders and needs to inspect slow components, commit timelines, or cascading updates before choosing a fix.
  3. An app has slow cold startup and needs TTI measurement plus checks for navigation, Hermes mmap, and expensive screen initialization.
  4. A mobile app is too large and needs JavaScript bundle analysis, dependency review, tree shaking, or Android native shrinking.
  5. A developer is building Turbo Modules or other native code and needs guidance on threading, synchronous calls, memory, and cross-platform performance.

What are this skill's strengths and limitations?

Pros
  • Covers JavaScript, native performance, and bundling in one workflow.
  • Emphasizes measurement before changes and includes concrete profiling, bundle-analysis, and validation commands.
  • Provides priority-ordered references and problem-to-reference routing.
  • Addresses practical topics including Hermes, FlashList, Turbo Modules, React Compiler, R8, and memory management.
Limitations
  • It is an instructional skill, not an automatic performance-fixing tool.
  • Effective use requires a React Native project and relevant CLI or native profiling tools.
  • The supplied source provides no test suite or cross-platform benchmark results.
  • Several recommendations depend on checking the versions of React Native, Expo, FlashList, and related libraries.

How do you install this skill?

Use the standalone installation command documented in the README: $skill-installer install react-native-best-practices from callstackincubator/agent-skills. Alternatively, clone the repository and copy skills/react-native-best-practices/ into a project-level .codex/skills/ or user-level ~/.codex/skills/ directory. Restart Codex afterward.

How do you use this skill?

Mention $react-native-best-practices in a client that supports skill invocation, or ask: “Profile this React Native list with React DevTools first, then apply an evidence-based fix and validate the FPS improvement.” If agent-device is unavailable, use React Native DevTools from Metro or the Dev Menu as described by the skill.

FAQ

Does this skill cost money?
The repository identifies the license as MIT and does not mention additional fees.
Will it recommend memoization without performance data?
It should not. The guide requires render, FPS, or startup evidence and explicitly discourages unmeasured recommendations for memoization, atomic state, or compiler changes.
Is it limited to Expo?
No. Expo is one tag, while the content also covers React Native, iOS, Android, Hermes, Turbo Modules, and native profiling.
How does it address remote code splitting?
It treats remote chunks as first-party artifacts and recommends app-bundled chunks or signed CI manifests, with hosted chunks restricted to trusted HTTPS origins controlled by the team and pinned to the current app release.

More skills from this repository

All from callstackincubator/agent-skills

Dev & Engineering

React Native Performance Playbook

Actionable rules for building faster, more reliable React Native and Expo apps.

Dev & Engineering

React Native Brownfield Migration

Guides incremental React Native or Expo adoption inside existing native iOS and Android apps.

Dev & Engineering

React Native TV Review Guide

Systematically review TV-specific focus, playback, performance, and accessibility issues in React Native apps.

Dev & Engineering

React Native Library Builder

Scaffold publishable React Native libraries or local native modules with a guided workflow.

Dev & Engineering

React Native Upgrade Assistant

A guided workflow for upgrading React Native apps through template diffs, dependency migration, and native configuration changes.

Dev & Engineering

React Native Migration Assessor

Evidence-led decisions for React Native migration readiness

Dev & Engineering

React Navigation UI Guide

Practical React Navigation 7 patterns for building and configuring React Native navigation interfaces.

Automation & Ops

React Native GitHub Actions Artifacts

Build React Native simulator artifacts in the cloud and retrieve them from GitHub.

Dev & Engineering

Mobile App Dogfood Tester

Systematically explore iOS and Android apps and produce bug reports backed by screenshots and reproducible steps.

Dev & Engineering

React Native Test Guide

Helps AI write dependable React Native component tests

Dev & Engineering

Cross-Platform Device Operator

Enables AI coding assistants to inspect and operate Apple-platform and Android apps.

Dev & Engineering

Skill Spec Validator

Checks Agent Skills against the agentskills.io spec and Claude Code best practices.

Dev & Engineering

GitHub PR Workflow Assistant

Manage pull requests, stacked branches, and merges through the gh CLI.

Related skills