vuex의 "모사" 돌연변이 import { remoteSettings } from 'somewhere'; const store = { state: { view: { foo: true } }, mutations: { toggleFoo(state) { state.view.foo = !state.view.foo; } }, actions: { async toggleFoo({ state, commit }) { commit('toggleFoo'); await remoteSettings.save(state); } } }; 나한테 이런 간단한 가게가 있다고 말해줘. toggleFoo동작은 돌연변이를 적용한 다음 비동기 호출로 새 상태를 저장한다.그러나, 만약remoteSettings.save()호출 실패, 저장소에 ..