Boris Barroso
Feb 24, 2017 · 1 min read

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.

    Boris Barroso

    Written by

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade