2👍
✅
when we commit mutations, it refers to change the state and ONLY the state.when you need more complex mutations to change the state, using actions instead.
Source:stackexchange.com
2👍
when we commit mutations, it refers to change the state and ONLY the state.when you need more complex mutations to change the state, using actions instead.