Mapping State Vuex provides a helper function called mapState to solve this problem. It is used for mapping state properties in the store to computed properties in our components . The mapState helper function returns an object which contains the state in the store.24 May 2021