Loading...
Loading...
Compare original and translation side by side
| Priority | Category | Impact | Source |
|---|---|---|---|
| 1 | Core Rendering | CRITICAL | Vercel |
| 2 | List Performance | CRITICAL | Both |
| 3 | FPS & Re-renders | CRITICAL | Callstack |
| 4 | Bundle Size | CRITICAL | Callstack |
| 5 | Animation | HIGH | Both |
| 6 | Navigation | HIGH | Vercel |
| 7 | TTI Optimization | HIGH | Callstack |
| 8 | UI Patterns | HIGH | Vercel |
| 9 | Native Performance | HIGH | Callstack |
| 10 | State Management | MEDIUM | Vercel |
| 11 | React Compiler | MEDIUM | Both |
| 12 | Memory Management | MEDIUM | Callstack |
| 13 | Monorepo | MEDIUM | Vercel |
| 优先级 | 分类 | 影响程度 | 来源 |
|---|---|---|---|
| 1 | 核心渲染 | 关键 | Vercel |
| 2 | 列表性能 | 关键 | 两者 |
| 3 | FPS与重渲染 | 关键 | Callstack |
| 4 | 包体积 | 关键 | Callstack |
| 5 | 动画 | 高 | 两者 |
| 6 | 导航 | 高 | Vercel |
| 7 | TTI优化 | 高 | Callstack |
| 8 | UI模式 | 高 | Vercel |
| 9 | 原生性能 | 高 | Callstack |
| 10 | 状态管理 | 中 | Vercel |
| 11 | React Compiler | 中 | 两者 |
| 12 | 内存管理 | 中 | Callstack |
| 13 | 单体仓库 | 中 | Vercel |
rendering-no-falsy-andrendering-text-in-text-componentrendering-no-falsy-andrendering-text-in-text-componentlist-performance-virtualizelist-performance-item-memolist-performance-callbackslist-performance-inline-objectslist-performance-function-referenceslist-performance-imageslist-performance-item-expensivelist-performance-item-typeslist-performance-virtualizelist-performance-item-memolist-performance-callbackslist-performance-inline-objectslist-performance-function-referenceslist-performance-imageslist-performance-item-expensivelist-performance-item-typesanimation-gpu-propertiesanimation-derived-valueanimation-gesture-detector-pressanimation-gpu-propertiesanimation-derived-valueanimation-gesture-detector-pressnavigation-native-navigatorsnavigation-native-navigatorsui-expo-imageui-image-galleryui-pressableui-safe-area-scrollui-scrollview-content-insetui-menusui-native-modalsui-measure-viewsui-stylingui-expo-imageui-image-galleryui-pressableui-safe-area-scrollui-scrollview-content-insetui-menusui-native-modalsui-measure-viewsui-stylingreact-state-minimizereact-state-dispatcherreact-state-fallbackstate-ground-truthreact-state-minimizereact-state-dispatcherreact-state-fallbackstate-ground-truthreact-compiler-destructure-functionsreact-compiler-reanimated-shared-valuesreact-compiler-destructure-functionsreact-compiler-reanimated-shared-valuesmonorepo-native-deps-in-appmonorepo-single-dependency-versionsmonorepo-native-deps-in-appmonorepo-single-dependency-versionsfonts-config-pluginimports-design-system-folderjs-hoist-intlfonts-config-pluginimports-design-system-folderjs-hoist-intlundefinedundefined- `js-profile-react.md` - React DevTools profiling
- `js-measure-fps.md` - FPS monitoring
- `js-react-compiler.md` - Automatic memoization
- `js-atomic-state.md` - Jotai/Zustand patterns
- `js-concurrent-react.md` - useDeferredValue, useTransition- `js-profile-react.md` - React DevTools性能分析
- `js-measure-fps.md` - FPS监控
- `js-react-compiler.md` - 自动记忆化
- `js-atomic-state.md` - Jotai/Zustand使用模式
- `js-concurrent-react.md` - useDeferredValue、useTransition的使用npx react-native bundle \
--entry-file index.js \
--bundle-output output.js \
--platform ios \
--sourcemap-output output.js.map \
--dev false --minify true
npx source-map-explorer output.js --no-border-checksbundle-barrel-exports.mdbundle-analyze-js.mdbundle-tree-shaking.mdbundle-r8-android.mdbundle-hermes-mmap.mdnpx react-native bundle \
--entry-file index.js \
--bundle-output output.js \
--platform ios \
--sourcemap-output output.js.map \
--dev false --minify true
npx source-map-explorer output.js --no-border-checksbundle-barrel-exports.mdbundle-analyze-js.mdbundle-tree-shaking.mdbundle-r8-android.mdbundle-hermes-mmap.mdnative-measure-tti.mdbundle-hermes-mmap.mdInteractionManagernative-measure-tti.mdbundle-hermes-mmap.mdInteractionManagernative-turbo-modules.mdnative-threading-model.mdnative-profiling.mdnative-turbo-modules.mdnative-threading-model.mdnative-profiling.mdjs-memory-leaks.mdnative-memory-leaks.mdnative-memory-patterns.mdjs-memory-leaks.mdnative-memory-leaks.mdnative-memory-patterns.mdjs-animations-reanimated.mdjs-animations-reanimated.md| Problem | Vercel Rules | Callstack References |
|---|---|---|
| App crashes | | - |
| List scroll jank | | |
| Animation drops frames | | |
| Too many re-renders | | |
| Slow startup (TTI) | - | |
| Large app size | - | |
| Memory growing | - | |
| TextInput lag | - | |
| Native module slow | - | |
| 问题 | Vercel规则 | Callstack参考资料 |
|---|---|---|
| 应用崩溃 | | - |
| 列表滚动卡顿 | | |
| 动画掉帧 | | |
| 重渲染次数过多 | | |
| 启动缓慢(TTI) | - | |
| 应用体积过大 | - | |
| 内存持续增长 | - | |
| TextInput输入卡顿 | - | |
| 原生模块运行缓慢 | - | |
react-native/
├── SKILL.md # This file
├── AGENTS.md # Full 74KB compiled Vercel guide
├── rules/ # 36 individual Vercel rule files
│ ├── list-performance-*.md
│ ├── animation-*.md
│ ├── ui-*.md
│ └── ...
└── references/ # 27 Callstack reference files
├── js-*.md
├── native-*.md
├── bundle-*.md
└── images/react-native/
├── SKILL.md # 本文件
├── AGENTS.md # 完整的74KB编译版Vercel指南
├── rules/ # 36份独立的Vercel规则文件
│ ├── list-performance-*.md
│ ├── animation-*.md
│ ├── ui-*.md
│ └── ...
└── references/ # 27份Callstack参考资料文件
├── js-*.md
├── native-*.md
├── bundle-*.md
└── images/