Question · Vue.js course · Module 3: Reactivity
toRef vs toRefs
When should you use toRef() instead of toRefs()?
Answer options
- Always - toRef is better
- When the object has many properties
- When you need only one specific property from a reactive object
- When working with arrays
You can check the correct answer by solving this task in the CodeWorlds game.