Skip to content

Best Practices

The plugin includes 46 best-practice rules integrated from Vercel’s React Native skills plus custom additions. Rules are checked during Phase 4 (Architecture) and Phase 6 (Code Review).

LevelMeaningWhen checked
CRITICALCan cause crashes or data lossAlways checked
HIGHSignificant performance or UX impactAlways checked
MEDIUMNoticeable improvementChecked when relevant patterns present
LOWMinor optimizationChecked on 3+ occurrences

Rules that prevent crashes, infinite loops, and rendering bugs. These are CRITICAL priority.

Rules for optimizing FlatList, FlashList, and SectionList. Covers item memoization, callback refs, image handling, and expensive item extraction.

Rules for keeping animations on the UI thread using Reanimated shared values, derived values, and GPU-friendly properties.

Rules for efficient state updates, lazy initialization, and avoiding inline component definitions.

Rules for imports, module-level initialization, compound component patterns, and design system organization.

Rules for parallel execution, cheap-condition-first checks, and avoiding unnecessary async work.

All 46 rules are available in the sidebar under Rules. Each rule page includes:

  • Impact level and description
  • Incorrect code example (what to avoid)
  • Correct code example (what to do instead)
  • Explanation of why it matters