reviewing-state-management

Installation
SKILL.md

Review: State Management

Checklist

State Immutability

  • No direct state mutation
  • Using spread operators or immutable update patterns
  • Arrays updated with map/filter/concat (not push/splice)
  • Objects updated with spread or Object.assign

State Location

  • Local state used when appropriate
  • Context only for cross-cutting concerns
  • No prop drilling through 3+ levels
  • Frequently changing state not in Context

useReducer Usage

  • Used for complex state logic
  • Reducer functions are pure
Related skills
Installs
4
First Seen
Feb 4, 2026