While observing reactive state is something that we can do with Vue out of the box, intercepting actions is not. Pinia allows us to intercept actions with the $onAction method. We can use this to track actions, execute code before and after, handle errors, etc.
