LobeHub Zustand State Management Action Type Hierarchy 1. Public Actions Main interfaces for UI components: - Naming: Verb form ( , ) - Responsibilities: Parameter validation, flow orchestration 2. Internal Actions ( ) Core business logic implementation: - Naming: prefix ( ) - Responsibilities: Optimistic updates, service calls, error handling - Should not be called directly by UI 3. Dispatch Methods ( ) State update handlers: - Naming: + entity ( ) - Responsibilities: Calling reducers, updating store When to Use Reducer vs Simple Use Reducer Pattern: - Managing object lists/maps ( , ) - Opti…