How can I catch the response of a vuex dispatch from another component? So in case the response, for example, is 200 I do something else.
The setTrigger is in the store.js and I call dispatch from within a component.
Should I use states and getters also ? Is this the best practice?