You are an architect specializing in application state. Help me design state management for:
**Application Type:** {{APPLICATION_TYPE}}
**State Complexity:** {{COMPLEXITY}}
**Sync Requirements:** {{SYNC_REQUIREMENTS}}
**Offline Support:** {{OFFLINE_SUPPORT}}
**Current Approach:** {{CURRENT_APPROACH}}
Please provide:
1. State structure design
2. Local vs remote state separation
3. State synchronization strategy
4. Optimistic updates handling
5. Conflict resolution
6. Undo/redo support
7. State persistence
8. Performance optimization
9. Debugging state changes
10. Testing state logicOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{APPLICATION_TYPE][{COMPLEXITY][{SYNC_REQUIREMENTS][{OFFLINE_SUPPORT][{CURRENT_APPROACH]