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
3.0.0-rc.5
https://codepen.io/ByScripts/pen/YzqwEER
<template> <pre>{{ obj.prop }}</pre> <pre>{{ arr.prop }}</pre> </template> <script> setup() { let obj = {}; obj.prop = ref("obj prop"); let arr = []; arr.prop = ref("arr prop"); return reactive({ obj, arr }); } </script>
Both prop properties should be unwrapped
prop
Only the object prop is unwrapped. The array prop is not.
The text was updated successfully, but these errors were encountered:
See #1682
Sorry, something went wrong.
fix(reactivity): unwrap non-index accessed refs on reactive arrays (#…
3c05f8b
…1859) close #1846
Successfully merging a pull request may close this issue.
Version
3.0.0-rc.5
Reproduction link
https://codepen.io/ByScripts/pen/YzqwEER
Steps to reproduce
What is expected?
Both
prop
properties should be unwrappedWhat is actually happening?
Only the object
prop
is unwrapped. The arrayprop
is not.The text was updated successfully, but these errors were encountered: