Question · Vue.js course · Module 3: Reactivity

Problem with destructuring reactive

What happens when you destructure a reactive object?

Answer options

  • Nothing - it works normally
  • Vue throws an error
  • The destructured variables lose reactivity
  • The original object is deleted

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