mapGetters and mapActions are basically a helper provided by vuex which returns an object with keys as method names and values as methods with some defined definition. This object when combined with … (Object spread operator) spreads it out into individual functions in the computed or methods object respectively.