Tag: zustand

Type: All Skills Tools
skill ★ 77,350

Advanced Zustand State Management with Class Actions

This skill outlines advanced patterns for managing complex state in Zustand, guiding developers to migrate from simple state creators to class-based actions. It enforces strict conventions for action hierarchy, optimistic updates, and compo…

lobehub/lobehub zustand state-management typescript class-actions
skill ★ 77,350

Zustand State Management Patterns for LobeHub

This guide outlines best practices for structuring state in Zustand stores, advising developers to use simple arrays for list data and Maps for caching multiple detail entities. Adhering to these patterns ensures optimal performance for lis…

lobehub/lobehub zustand state-management data-structures typescript
skill ★ 77,350

Robust Data Fetching Architecture with Zustand and SWR

This pattern provides a robust architecture for managing client-side state and data fetching by enforcing a Service Layer pattern. It guides developers to use SWR hooks within a Zustand store for state management, ensuring clean separation …

lobehub/lobehub data-fetching zustand swr service-layer
skill

LobeHub Zustand State Management Patterns

Defines the architectural conventions for managing state within LobeHub using Zustand, including action hierarchies, optimistic update patterns, and class-based slice composition. It provides guidance on implementing public, internal, and d…

lobehub/lobe-chat zustand state-management typescript lobehub
skill

Zustand state data structure patterns guide

This guide outlines architectural patterns for structuring state in Zustand stores, advising developers to use simple arrays for list views and Maps for caching multiple detail entities. It emphasizes separating list and detail types and em…

lobehub/lobe-chat zustand state-management data-structures typescript
skill

LobeChat Data Fetching Architecture Guide

A structured architecture for managing data fetching using a service layer, Zustand stores, and SWR. It provides patterns for API encapsulation, cache invalidation, and synchronising client-side state with server-side data.

lobehub/lobe-chat data-fetching zustand swr typescript
skill ★ 19,338

Opik Frontend Development Patterns

Defines architectural patterns and implementation standards for the Opik React frontend, covering TanStack Router, TanStack Query, and Zustand state management.

comet-ml/opik react frontend-architecture tanstack-query zustand