diff --git a/code/examples/item-edit-modal.md b/code/examples/item-edit-modal.md index 81123974..96a8abc6 100644 --- a/code/examples/item-edit-modal.md +++ b/code/examples/item-edit-modal.md @@ -104,3 +104,5 @@ function ItemEditModal({ open, items, recommendedItems, onConfirm, onClose }) { ); } ``` + +조합(Composition) 패턴은 단순히 Props를 전달하는 문제를 줄이는 것을 넘어, 불필요한 중간 추상화를 제거하여 개발자가 컴포넌트의 역할과 의도를 명확히 이해할 수 있도록 도와줘요. diff --git a/en/code/examples/item-edit-modal.md b/en/code/examples/item-edit-modal.md index 6fee7ad2..af4144c3 100644 --- a/en/code/examples/item-edit-modal.md +++ b/en/code/examples/item-edit-modal.md @@ -104,3 +104,5 @@ function ItemEditModal({ open, items, recommendedItems, onConfirm, onClose }) { ); } ``` + +Composition pattern helps not only to reduce the problem of passing props but also to remove unnecessary intermediate abstractions, allowing developers to clearly understand the role and intent of the component. diff --git a/ja/code/examples/item-edit-modal.md b/ja/code/examples/item-edit-modal.md index fe98d31e..76b5d4ab 100644 --- a/ja/code/examples/item-edit-modal.md +++ b/ja/code/examples/item-edit-modal.md @@ -103,3 +103,5 @@ function ItemEditModal({ open, items, recommendedItems, onConfirm, onClose }) { ); } ``` + +コンポジション(Composition)パターンは、propsを渡すだけの問題を解消するだけでなく、不要な中間抽象化を削除して、開発者がコンポーネントの役割と意図を明確に理解できるように支援します。