Skip to content
Back to skills

React Native Performance

ASecurity

Finds and fixes janky lists, wasted re-renders and chatty bridge calls in a React Native app, measuring before and after each change.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 15, 2026
ai-agentsreactperformance

Works with

  • cli

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add workspace-templates/ai-agent-templates --skill react-native-performance --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of React Native Performance?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for React Native Performance
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/workspace-templates-react-native-performance/badge)](https://www.skillsdirectory.com/skills/workspace-templates-react-native-performance)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: react-native-performance
description: Finds and fixes janky lists, wasted re-renders and chatty bridge calls in a React Native app, measuring before and after each change.
---

# React Native performance

Measure first. Never optimize on a debug build or in the simulator alone.

## Steps

1. Name the symptom and the screen. Build in release mode (`npx react-native run-android --mode release` or the Xcode Release scheme) and note the baseline: frame rate from the perf monitor, or a React Profiler recording of the interaction.
2. Lists first. For FlatList or SectionList check: a stable `keyExtractor` (never the array index for reorderable data), `getItemLayout` for fixed-height rows, `windowSize` and `maxToRenderPerBatch` tuned down, `removeClippedSubviews` on Android, and row components wrapped in `React.memo` with stable props. Consider FlashList when rows vary and the list is long.
3. Re-renders. Use the Profiler to find components that render without a prop change. Fix the cause: inline objects and arrow functions passed as props, a context whose value changes every render, state kept too high in the tree. Reach for `useMemo` and `useCallback` only where a memoized child receives the value.
4. Bridge and JS thread. Look for loops that call native modules per item, `JSON.parse` of large payloads on the JS thread, and animations that use `setState`. Batch native calls, move animations to Reanimated worklets or `useNativeDriver: true`, and defer heavy work with `InteractionManager.runAfterInteractions`.
5. Images. Require explicit width and height, resize on the server, and use a caching image component.
6. Startup. Check bundle size, Hermes enabled, and imports that run work at module load. Use inline requires for rarely used screens.
7. Re-measure after each single change and keep it only if the number improves.

## Rules

- One change per measurement.
- Do not add `useMemo` everywhere. Unmeasured memoization is noise.
- Never remove accessibility props to save render time.

## Report

Baseline and final numbers, each change kept with file and line, and changes reverted because they did not help.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.