react-hooks-patterns
SKILL.md
React Hooks Patterns
Master modern React hooks patterns for building scalable, maintainable applications with proper state management, side effects, and custom logic reuse.
Common Hooks
useState
const [count, setCount] = useState(0);
const [user, setUser] = useState<User | null>(null);
// Functional updates
setCount(prev => prev + 1);