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

Property "__ob__" must be accessed with "$data.__ob__" #425

Closed
sapphi-red opened this issue Jul 4, 2020 · 1 comment
Closed

Property "__ob__" must be accessed with "$data.__ob__" #425

sapphi-red opened this issue Jul 4, 2020 · 1 comment
Labels

Comments

@sapphi-red
Copy link
Contributor

[Vue warn]: Property "__ob__" must be accessed with "$data.__ob__" because properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internals. See: https://vuejs.org/v2/api/#data

This warning occurs on 1.0.0-beta.1.

refs #409

@sapphi-red
Copy link
Contributor Author

Returning context in setup causes this.

https://codesandbox.io/s/composition-api-context-f9g8k

antfu added a commit to antfu/composition-api that referenced this issue Jul 5, 2020
@antfu antfu added the has PR label Jul 5, 2020
@antfu antfu closed this as completed in d5123ec Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants