console.log(user)
returnsRef<undefined>
, butconsole.log(user, user.value)
return Ref<Object>, Reactive<Object>
#2920
Labels
Uh oh!
There was an error while loading. Please reload this page.
Reproduction
https://stackblitz.com/edit/github-ugyyhuvm?file=components%2FHelloWorld.vue
Steps to reproduce the bug
Is this a regression ?
I have a very simple store that export an hardcoded
user
object.I added this to my component:
The first console.log is undefined.
The second one is not:
Expected behavior
console.log(user);
alone should returnRef<Object>
.Actual behavior
console.log(user);
returnsRef<undefined>
.Additional information
No response
The text was updated successfully, but these errors were encountered: