Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Zustand Store (TypeScript)

Skill Verifiziert Aktiv

Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.

Zweck

To provide a robust and well-structured template for creating Zustand stores with TypeScript, promoting best practices in React state management.

Funktionen

  • Zustand store creation with TypeScript
  • Integration of subscribeWithSelector middleware
  • Clear separation of state and actions
  • Guidance on using individual selectors for performance
  • Example for subscribing to store changes outside React

Anwendungsfälle

  • Building React state management solutions
  • Creating global stores for applications
  • Implementing reactive state patterns with Zustand
  • Establishing consistent patterns for Zustand store development

Nicht-Ziele

  • Replacing other state management libraries
  • Providing a runtime service
  • Managing complex application logic beyond store creation

Installation

Zuerst Marketplace hinzufügen

/plugin marketplace add microsoft/skills
/plugin install azure-sdk-typescript@skills

Qualitätspunktzahl

Verifiziert
98 /100
Analysiert about 23 hours ago

Vertrauenssignale

Letzter Commit1 day ago
Sterne2.3k
LizenzMIT
Status
Quellcode ansehen

Ähnliche Erweiterungen