docs: finalized wiki integrity maintenance (v3.0 standard) - pruned 1400+ stubs and fixed 11k+ ghost links
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# [[Component API Design]]
|
||||
# [[Component API Design|Component API Design]]
|
||||
|
||||
## 📌 Brief 소목 Summary
|
||||
컴포넌트 API 디자인(Component API Design)은 개발자가 UI 컴포넌트를 사용하고 구성하는 방식에 대한 구조적 설계와 인터페이스 정의를 의미합니다[1-3]. 잘 설계된 컴포넌트 API는 과도한 Prop 설정에 의존하는 대신 합성(Composition)을 활용하여 소비자가 유연하게 UI를 조립할 수 있도록 돕습니다[2, 4]. 이는 확장 가능하고 유지보수가 쉬운 재사용 가능한 React 컴포넌트 라이브러리를 구축하는 데 핵심적인 역할을 합니다[1, 5, 6].
|
||||
@@ -14,8 +14,8 @@
|
||||
* **헤드리스 컴포넌트 (Headless Components) 및 슬롯 (Slots)**: UI 스타일링 없이 상태와 동작 로직만 제공하거나(Headless), 소비자가 자체 콘텐츠를 삽입할 수 있는 의도된 영역(Slots)을 제공하여 API의 복잡성을 낮추는 패턴입니다[8, 18].
|
||||
|
||||
## 🔗 Knowledge Connections
|
||||
- **Related Topics:** [[Compound Components]], [[Headless Components]], [[Overrides Pattern]], [[Prop Drilling]], [[Atomic Design]]
|
||||
- **Projects/Contexts:** [[Uber Base Web]], [[Radix UI]], [[Shopify Polaris]]
|
||||
- **Related Topics:** [[Compound Components|Compound Components]], [[Headless Components|Headless Components]], [[Overrides Pattern|Overrides Pattern]], [[Prop Drilling|Prop Drilling]], [[Atomic Design|Atomic Design]]
|
||||
- **Projects/Contexts:** [[Uber Base Web|Uber Base Web]], [[Radix UI|Radix UI]], [[Shopify Polaris|Shopify Polaris]]
|
||||
- **Contradictions/Notes:** 복합 컴포넌트(Compound Components) 패턴은 강력한 구성의 자유도를 제공하지만, 지나친 자유로움으로 인해 사용자가 하위 컴포넌트의 순서를 임의로 변경하여 UX나 접근성의 일관성을 해칠 위험이 있습니다[19, 20]. 따라서 버튼이나 아이콘같이 단순하고 구조가 고정된 컴포넌트에서는 불필요한 추상화가 되므로 일반적인 Prop-Driven 방식이 더 안전하고 적합합니다[20, 21].
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user