Question · Vue.js course · Module 11: Pinia

storeToRefs

What is storeToRefs used for?

Answer options

  • Converting state to reactive refs while keeping reactivity
  • Removing reactivity from the store
  • Creating references to other stores
  • Resetting state to initial values

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