---
title: Vuex
tags: Vue note
---
# Vuex
modules:{ state, getters, mutations, actions}
---
## state
>(store with reducer)
- Initial data
- Vuex state is **mutable** (redux immutable)
## getters
>(mapStateToProps access from props)
- Computation on state
- Has mapState() helper function

## mutations
> (every single case in reducer)
- Modifying the State (function)
## actions
Assemnle multiple mutations to execute

---
