Question · Vue.js course · Module 11: Pinia

Persistence Plugin

What does the pinia-plugin-persistedstate do?

Answer options

  • Automatically saves and restores state from localStorage/sessionStorage
  • Adds persistence to actions
  • Sends state to the server
  • Creates state backups in IndexedDB

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