Action
Also written: actions
A function in a Pinia store that changes the store's state, such as `add`, `remove` or `clear` in the cart store.
Also written: actions
A function in a Pinia store that changes the store's state, such as `add`, `remove` or `clear` in the cart store.