We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Following code
toRefs(props.foo)
logs following error
toRefs() expects a reactive object but received a plain one
Even though props.foo is a reactive object because of template auto unwrapping and it makes sense to use toRefs on such props.
props.foo
toRefs
Same code works fine with vue-next.
The text was updated successfully, but these errors were encountered:
? https://codepen.io/jkarczm/pen/qBbrrgB?editors=0011
Sorry, something went wrong.
@vmihailenco Can you share more details about your props?
Done - https://codepen.io/vmihailenco/pen/bGEqjQd
antfu
Successfully merging a pull request may close this issue.
Following code
logs following error
Even though
props.foo
is a reactive object because of template auto unwrapping and it makes sense to usetoRefs
on such props.Same code works fine with vue-next.
The text was updated successfully, but these errors were encountered: