Question · Vue.js course · Module 9: Composables & VueUse

State Machine in Vue

What is the main advantage of the State Machine pattern with ref and computed?

Answer options

  • Faster rendering
  • Each state has precisely defined allowed transitions
  • Automatic saving to a database
  • Built-in form validation

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