react-native-best-practices

Diagnose and optimize React Native performance issues using profiling-first workflows.

Updated Jan 8, 2026
One-click install
npx skills add https://github.com/soham2008xyz/trade-tycoon --skill react-native-best-practices-soham2008xyz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-native-best-practices
Source: https://github.com/soham2008xyz/trade-tycoon/tree/main/.agents/skills/react-native-best-practices
Command: npx skills add https://github.com/soham2008xyz/trade-tycoon --skill react-native-best-practices-soham2008xyz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you diagnose and resolve React Native performance problems—like dropped frames, slow startup (TTI), bloated bundles, and memory leaks—by applying targeted, profiling-driven best practices.

Core Features & Use Cases

  • Measure first, then optimize: Establish baselines with FPS/React profiling, then validate improvements with the same measurements.
  • Reduce render and animation overhead: Use React/JS tactics (profiling, concurrent patterns, atomic state, list virtualization) and Reanimated UI-thread animation patterns to prevent jank.
  • Shrink bundles and speed startup: Analyze JS bundle contents, avoid barrel exports, enable tree shaking/code-splitting where appropriate, and optimize Hermes/Android startup.
  • Investigate memory issues safely: Identify and fix JS and native memory leaks using DevTools/Instruments/Profiler workflows.

Quick Start

Run the relevant measurement for the symptom you see (FPS drop, slow TTI, bundle bloat, or increasing memory) and then follow the matching reference steps to apply a single change before re-measuring and validating.

Frequently Asked Questions about react-native-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix React Native FPS drops and jank in animations?

Fix React Native FPS drops by profiling first to establish a baseline, then applying Reanimated UI-thread animation patterns and reducing render overhead with concurrent features and atomic state. Validate improvements by re-measuring with the same profiling tools.

What is the best way to reduce React Native bundle size and slow startup time?

The best way to reduce React Native bundle size is to analyze JS bundle contents, avoid barrel exports, and enable tree shaking or code-splitting. This shrinks the app bundle and improves slow time-to-interactive (TTI) startup performance on Hermes and native environments.

How do I diagnose JavaScript and native memory leaks in a React Native app?

Diagnose React Native memory leaks by using profiling-first workflows with DevTools, Instruments, and Profiler to identify increasing memory usage. This safely isolates both JS and native leaks in Hermes, Expo, and native iOS/Android environments before applying fixes.

Does this React Native optimization workflow apply to Expo apps?

Yes, this optimization workflow applies to Expo apps, as it explicitly targets Hermes and Expo environments alongside native iOS and Android. It diagnoses rendering, animation, bundle, and memory issues across these platforms using measurement-driven guardrails.

Why should I profile my React Native app before applying performance optimizations?

You must profile your React Native app before optimizing because the workflow requires establishing a baseline measurement for FPS drops, TTI, or memory. This profiling-first approach ensures you validate that a single change actually resolves the suspected performance issue.