react-patterns

Installation
SKILL.md

React 19 Patterns and Best Practices

Modern React 19 patterns leveraging the React Compiler, Server Actions, and new hooks.

Compiler-Friendly Code

The React Compiler automatically optimizes components for performance. Write code that works well with it:

Best Practices:

  • Keep components pure and props serializable
  • Derive values during render (don't stash in refs unnecessarily)
  • Keep event handlers inline unless they close over large mutable objects
  • Verify compiler is working (DevTools ✨ badge)
  • Opt-out problematic components with "use no memo" while refactoring
Related skills

More from madappgang/claude-code

Installs
1
GitHub Stars
277
First Seen
Jan 28, 2026