[Step3] 3주차 : Observer 패턴 - #9
Open
nerdyinu wants to merge 10 commits into
Open
Conversation
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.
여러가지 중첩 객체를 observe 할 수 있는 방법을 시도해봤지만 잘 안됐네요. 참 아쉽지만, 제가 여러군데를 조사하면서 읽은 방법 중 가장 정답에 근접하다고 생각하는 방법으로 PR을 한번 올려보았습니다. 이 외에도 WeakMap등으로 프록시를 저장해서 하는 방법 등 여러가지 방법이 있는 것 같습니다. Vue에서는 이러한 중첩된 객체의 Proxy 부분을 어떻게 해결하고 있는지가 궁금합니다.
최적화 부분은 시간나는 대로 해서 올리겠습니다.