skills/react-native-skills/rules/_sections.md
This file defines all sections, their ordering, impact levels, and descriptions. The section ID (in parentheses) is the filename prefix used to group rules.
Impact: CRITICAL
Description: Fundamental React Native rendering rules. Violations cause
runtime crashes or broken UI.
Impact: HIGH
Description: Optimizing virtualized lists (FlatList, LegendList, FlashList)
for smooth scrolling and fast updates.
Impact: HIGH
Description: GPU-accelerated animations, Reanimated patterns, and avoiding
render thrashing during gestures.
Impact: HIGH
Description: Tracking scroll position without causing render thrashing.
Impact: HIGH
Description: Using native navigators for stack and tab navigation instead of
JS-based alternatives.
Impact: MEDIUM
Description: Patterns for managing React state to avoid stale closures and
unnecessary re-renders.
Impact: MEDIUM
Description: Ground truth principles for state variables and derived values.
Impact: MEDIUM
Description: Compatibility patterns for React Compiler with React Native and
Reanimated.
Impact: MEDIUM
Description: Native UI patterns for images, menus, modals, styling, and
platform-consistent interfaces.
Impact: MEDIUM
Description: Architecture patterns for building maintainable component
libraries.
Impact: LOW
Description: Dependency management and native module configuration in
monorepos.
Impact: LOW
Description: Wrapping and re-exporting third-party dependencies for
maintainability.
Impact: LOW
Description: Micro-optimizations like hoisting expensive object creation.
Impact: LOW
Description: Native font loading for improved performance.