Question · Vue.js course · Module 11: Pinia
Watchers in a Store
Can you use watch() inside a Composition API store?
Answer options
- Yes, watch() works inside the setup function of a store
- No, watchers are only available in components
- Only with a special plugin
- Only in Options API stores
You can check the correct answer by solving this task in the CodeWorlds game.