Question · Vue.js course · Module 3: Reactivity

The unref() function

What does unref(value) do?

Answer options

  • Removes reactivity permanently
  • Converts reactive to ref
  • Creates a new non-reactive copy
  • Returns value.value if it's a ref, otherwise returns value as-is

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