界面已本地化;技能原文保持作者语言。部分长说明页面以英语提供。
探索技能
开发与工程 · SKILL.md

expo-react-native-performance

expo-react-native-performance

【开发与工程】Expo React Native performance optimization guidelines. This skill should be used when writing, reviewing, or refactoring Expo React Native code to ensure optimal performance patterns. Triggers on tasks involving React Native components, lists, animations, images, or performance improvements.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: expo-react-native-performance description: Expo React Native performance optimization guidelines. This skill should be used when writing, reviewing, or refactoring Expo React Native code to ensure optimal performance patterns. Triggers on tasks involving React Native components, lists, animations, images, or performance improvements.

Expo React Native Performance Best Practices

Comprehensive performance optimization guide for Expo React Native applications. Contains 42 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.

When to Apply

Reference these guidelines when:

  • Writing new React Native components or screens
  • Implementing lists with FlatList or FlashList
  • Adding animations or transitions
  • Optimizing images and asset loading
  • Reviewing code for performance issues

Rule Categories by Priority

PriorityCategoryImpactPrefix
1App Startup & Bundle SizeCRITICALstartup-
2List VirtualizationCRITICALlist-
3Re-render OptimizationHIGHrerender-
4Animation PerformanceHIGHanim-
5Image & Asset LoadingMEDIUM-HIGHasset-
6Memory ManagementMEDIUMmem-
7Async & Data FetchingMEDIUMasync-
8Platform OptimizationsLOW-MEDIUMplatform-

Quick Reference

1. App Startup & Bundle Size (CRITICAL)

2. List Virtualization (CRITICAL)

3. Re-render Optimization (HIGH)

4. Animation Performance (HIGH)

5. Image & Asset Loading (MEDIUM-HIGH)

6. Memory Management (MEDIUM)

7. Async & Data Fetching (MEDIUM)

8. Platform Optimizations (LOW-MEDIUM)

How to Use

Read individual reference files for detailed explanations and code examples:

Full Compiled Document

For the complete guide with all rules expanded, see AGENTS.md.

Reference Files

FileDescription
AGENTS.mdComplete compiled guide with all rules
references/_sections.mdCategory definitions and ordering
assets/templates/_template.mdTemplate for new rules
metadata.jsonVersion and reference information
我的收藏