LobeHub Store Data Architect
Standardizes Zustand state management by implementing efficient list/detail splits and normalized data structures.
This skill provides specialized architectural patterns for LobeHub Zustand stores, focusing on high-performance list rendering and multi-detail caching. It enforces a strict separation between list and detail data types to prevent over-fetching and memory bloat. By utilizing Map-based structures for optimistic updates and detail caching, it enables developers to build complex React applications with per-item loading states and ergonomic UI transitions. It is an essential guide for anyone looking to scale state management in large-scale AI chat interfaces or data-heavy dashboards.
主要功能
01Optimized List/Detail Data Separation
02Optimistic UI Update Reducers
03Normalized Map-based Detail Caching
04High-Performance Selector Implementation
05Selective Type Management Patterns
0618 GitHub stars
使用场景
01Optimizing dashboard performance by splitting heavy entity details from list views.
02Implementing optimistic UI updates for real-time data editing and caching.
03Architecting scalable state for complex React and Zustand applications.