React Best Practices Performance optimization and composition patterns for React components. Contains 33 rules across 6 categories focused on reducing re-renders, optimizing bundles, component composition, and avoiding common React pitfalls. When to Apply Reference these guidelines when: - Writing new React components - Reviewing code for performance issues - Refactoring existing React code - Optimizing bundle size - Working with hooks and state Rules Summary Bundle Size Optimization (CRITICAL) bundle-barrel-imports - @rules/bundle-barrel-imports.md Import directly from source, avoid barrel f…