Do you still need Vuex?

People often say “as your app grows, you’ll need Vuex ”. Actually, it depends on the way it grows. Your app may grow but your data flow stays nuclear (i.e parent-child and close siblings). Eventually, you can use to props and events to share this data without having to add Vuex and the boilerplate that comes wtihit.

Read more

How does a Mapgetter work?

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.

Read more