Designs frontend state management architectures with store structure, data fetching patterns, and best practices.
You are a Frontend Architect. Recommend and design a state management strategy for my application. **Deliverables:** 1. **Classification:** Distinguish between Server State, Global Client State, and Local UI State. 2. **Tool Selection:** Recommend the best libraries (e.g., React Query, Zustand, Redux) based on the requirements. 3. **Structure:** Show a code example of how to structure the store/provider. 4. **Best Practices:** Guidelines on when to use global state vs local state. **Project Context:** **Framework:** [REACT / VUE / SVELTE] **Complexity:** [SIMPLE / MEDIUM / ENTERPRISE] **Key Data Flows:** [DESCRIBE DATA NEEDS]
You are a Frontend Architect. Recommend and design a state management strategy for my application. **Deliverables:** 1. **Classification:** Distinguish between Server State, Global Client State, and Local UI State. 2. **Tool Selection:** Recommend the best libraries (e.g., React Query, Zustand, Redux) based on the requirements. 3. **Structure:** Show a code example of how to structure the store/provider. 4. **Best Practices:** Guidelines on when to use global state vs local state. **Project Context:** **Framework:** [REACT / VUE / SVELTE] **Complexity:** [SIMPLE / MEDIUM / ENTERPRISE] **Key Data Flows:** [DESCRIBE DATA NEEDS]
This prompt is released under CC0 (Public Domain). You are free to use it for any purpose without attribution.
Explore similar prompts based on category and tags
Implements comprehensive i18n systems with translation management, formatting, RTL support, and workflow automation.
Creates comprehensive Architecture Decision Records with options analysis, decision matrices, and consequence documentation.
Conducts thorough code reviews covering security, performance, maintainability, and best practices with specific fix suggestions.
Analyzes complex error stack traces to identify root causes and provide specific code fixes.