You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{defineComponent,isReactive,toRefs}from'vue';exportdefaultdefineComponent({props: {foo: String,},setup(props){console.log(props,isReactive(props));// toRefs() expects a reactive object but received a plain one.console.log(toRefs(props,'foo'));},});
What is expected?
props is reactive.
What is actually happening?
props is not reactive.
P.S. createApp doesn't exist now. Will it be added in the final version of 2.7?
The text was updated successfully, but these errors were encountered:
Version
2.7.0-beta.2
Reproduction link
stackblitz.com
Steps to reproduce
What is expected?
props
is reactive.What is actually happening?
props
is not reactive.P.S.
createApp
doesn't exist now. Will it be added in the final version of 2.7?The text was updated successfully, but these errors were encountered: