Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with external deep proxies (rebased) #43

Closed
wants to merge 4 commits into from

Conversation

warpech
Copy link
Contributor

@warpech warpech commented Jun 24, 2019

This is PR #39 rebased on current master.

warpech added 4 commits June 24, 2019 17:14
- changed _treeMetadataMap to use the unproxified version of the tree, instead of proxified
- merged _parenthoodMap into _treeMetadataMap
- added a new symbol _metadataSymbol used to access the metadata from the proxified object, but only if you have a reference to the symbol
skip generation of a replace operation, if an object within the tree is replaced with a proxified version of itself by external code
@warpech
Copy link
Contributor Author

warpech commented Jul 29, 2019

Reason this was not merged:

I am not merging this until we find it absolutely necessary for view binding.

One thing that I find very annoyning about this change is how it affects debugging. Any attempt to read a property from the observed object causes the debugger to step into the trapForGet.

Copied from #39 (comment)

@warpech
Copy link
Contributor Author

warpech commented Dec 9, 2019

Closing because this PR turned out to be not needed

@warpech warpech closed this Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant