This skill automates the creation of Zustand stores by following industry-standard patterns, ensuring a clean separation between state and actions. It implements the subscribeWithSelector middleware by default to enable external subscriptions and optimizes React performance through individual selector patterns. It is ideal for developers looking to maintain consistent state management architecture across large TypeScript projects while reducing boilerplate and ensuring type safety.
주요 기능
01Promotes individual selector patterns to minimize unnecessary re-renders
02Standardizes store placement and testing folder structures
03Implements subscribeWithSelector middleware for advanced reactivity
04Automated TypeScript interface generation for state and actions
05Provides templates for external state subscriptions outside the React lifecycle
0682 GitHub stars
사용 사례
01Building scalable state management for complex React and TypeScript applications
02Refactoring legacy state logic into modular, type-safe Zustand stores
03Implementing cross-component communication via external state subscriptions