-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Nested refs are not unwrapped in templates #803
Comments
Fix at e67f655 |
Closing (commit released in alpha.8) |
Does this bug is fixed? I check with latest vue 3 version and nested ref is not unwrapped. Looks like in final version bug is returned. |
It's not a bug. I believe the decision to only unwrap refs at the root level of the returned object from
and
|
Version
3.0.0-alpha.7
Reproduction link
https://codesandbox.io/s/vue-3-ref-error-5xwws
Steps to reproduce
Open the sandbox and notice the nested ref is rendered as JSON. From looking at the code, this seems somewhat intentional? Nevertheless it was confusing and I just want to bring it up!
What is expected?
All refs are unwrapped in a template
What is actually happening?
Only top-level refs are unwrapped
Hope VueConf went well :) I was supposed to go but was grounded due to Coronavirus travel restrictions.
The text was updated successfully, but these errors were encountered: