Roadmap to becoming a developer in 2022
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

9 lines
614 B

# toRefs
`toRefs` converts a reactive object to a plain object where each property of the resulting object is a ref pointing to the corresponding property of the original object. Each individual ref is created using `toRef()`.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='blue' badgeText='Offial API Docs' href='https://vuejs.org/api/reactivity-utilities.html#toref'>Reactivity API — toRefs</BadgeLink>
<BadgeLink colorScheme='red' badgeText='Watch' href='https://www.youtube.com/watch?v=sAj6tdVS2cA'>Vue 3: Reactivity Made Easy (ref, reactive, toRefs... oh my!)</BadgeLink>