Question · Vue.js course · Module 11: Pinia

Multiple Stores vs One Store

Why is using multiple stores recommended instead of one large store?

Answer options

  • Better code organization, separation of concerns, easier testing
  • One large store is always better
  • Pinia does not support a single store
  • Multiple stores only work in production mode

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