state-management
Installation
SKILL.md
State Management
Choose the right state management approach for your React application.
Instructions
- Start simple - Use useState/useReducer before reaching for libraries
- Separate concerns - UI state vs server state vs global state
- Collocate state - Keep state close to where it's used
- Use the right tool - Different state types need different solutions
- Avoid over-engineering - Not everything needs global state