서우 AgentOffice
← 라이브러리
web-development

Zustand Store Ts

원문: zustand-store-ts

Create Zustand stores following established patterns with proper TypeScript types and middleware.

무엇을 하나요

Zustand Store Create Zustand stores following established patterns with proper TypeScript types and middleware. Quick Start Copy the template from assets/template.ts and replace placeholders: {{StoreName}} → PascalCase store name (e.g., Project ) {{description}} → Brief description for JSDoc Always Use subscribeWithSelector Separate State and Actions Use Individual Selectors Subscribe Outside React Integration Steps 1. Create store in src/frontend/src/store/ 2. Export from src/frontend/src/store/index.ts 3. Add tests in src/frontend/src/store/ .test.ts When to Use This skill is applicable to execute the workflow or actions described in the overview.

실행 시 본인 API 키(BYOK)로 동작하며, 모델 비용은 사용자 계정에서 직접 결제됩니다.