Question · Vue.js course · Module 3: Reactivity

The toRef() function

What does toRef() do?

Answer options

  • Converts a ref to a reactive object
  • Copies a ref value
  • Converts a string to a ref
  • Creates a ref linked to a single property of a reactive object

You can check the correct answer by solving this task in the CodeWorlds game.