hooks-patterns
Installation
SKILL.md
Hooks Patterns for React Native
Core Principles
Use hooks to manage state, effects, memoization, and callbacks with proper dependency arrays. Follow React rules of hooks, cleanup side effects, and compose custom hooks for reusable logic.
Why: Hooks provide a functional approach to state management and side effects. Proper usage prevents memory leaks, stale closures, unnecessary re-renders, and ensures predictable component behavior.
When to Use This Skill
Use these patterns when: