Question · Vue.js course · Module 11: Pinia

$reset in Composition API

Is the $reset() method available in Composition API stores?

Answer options

  • No, you need to implement it manually
  • Yes, it works identically to Options API
  • Only with the reset plugin
  • $reset does not exist in Pinia

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