[신승준] 챕터 7: 자바스크립트 디자인 패턴 (3/3)#68
Open
metacode22 wants to merge 1 commit intomainfrom
Hidden character warning
The head ref may contain hidden characters: "\ucc55\ud1307_3/\uc2e0\uc2b9\uc900"
Open
Conversation
sangbooom
approved these changes
Nov 12, 2024
챕터_7/신승준.md
Outdated
Comment on lines
+295
to
+305
Contributor
There was a problem hiding this comment.
제 생각엔 퍼사드 패턴 같아요!
QueryClient가 퍼사드 역할을 하고 내부적으로는 QueryCache와 다른 요소들이 함께 작동한다는 점이 퍼사드 패턴이지 않을까 생각이 드네요 🤔
Member
There was a problem hiding this comment.
둘 다 아닐까요?
QueryClient라는 중재자를 두어 에러처리를 중앙에서 처리하니까 개별 컴포넌트간의 의존성과 결합도를 낮출 수 있는거고, onError같은 핸들러는 복잡한 구현을 숨기고 사용성이 좋은 인터페이스만 노출하니까 퍼사드라고 볼 수 있을 것 같아요
hyesungoh
approved these changes
Nov 13, 2024
챕터_7/신승준.md
Outdated
Comment on lines
+266
to
+268
챕터_7/신승준.md
Outdated
Comment on lines
+295
to
+305
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
허허.. 이해는 잘 안되네요. 어렵구만유