637 B
637 B
title, category, tags, created
| title | category | tags | created | ||||
|---|---|---|---|---|---|---|---|
| 전략적 상태 관리 가이드 (Global & Server State) | Software Architecture |
|
2026-04-20 |
전략적 상태 관리 가이드
🌐 상태의 분류
- UI State: 로컬 상태 (useState).
- Global State: 전역 상태 (Context API, Zustand/Redux).
- Server State: 서버 데이터 (React Query, SWR).
🎯 원칙
상태는 가능한 낮게(Lift State Down), 필요할 때만 높게(Lift State Up) 유지하여 복잡도를 관리함.