Vue + Vuex — Getting started
Matt Bradford
39913

I really like vuex but I don’t use getters to much I’d rather make it a computed attribute, using computed attributes makes your code more readable and and the way you add getters to modules is with computed attributes, if you have complicated getters create mixins, also dropping getters is a concept less to catch and I had trouble using them in the past and moved all to just computed attributes and worked fine.

Show your support

Clapping shows how much you appreciated Boris Barroso’s story.