Question · Vue.js course · Module 11: Pinia
$onAction in Pinia
What does the $onAction method do?
Answer options
- Watches action calls and can react before and after them
- Creates new actions
- Removes all actions from the store
- Converts actions to getters
You can check the correct answer by solving this task in the CodeWorlds game.