Question · Vue.js course · Module 11: Pinia

The $patch Method

What does the $patch method do in Pinia?

Answer options

  • Removes the store
  • Updates multiple state properties at once
  • Creates a new store
  • Resets state to initial values

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