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