Open
Description
Vue version
3.5.13
Link to minimal reproduction
Steps to reproduce
- Create a component
- Call
defineProps
like this
const { ...props } = defineProps()
- Put
props
intotoRefs
toRefs(props))
Note
this works fine
const props = defineProps() toRefs(props))
What is expected?
No warning
What is actually happening?
A warning appears [Vue warn] toRefs() expects a reactive object but received a plain one.
System Info
Any additional comments?
No response