DEV Community

Discussion on: Write better Vue JS code

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

I enjoyed using vuex for a shop I was building, but I am writing a portfolio now, I opted out of vuex, and yes I need a certain level of abstraction, but do you know what is better than local state management? No state, or atleast remote data. I have cut down on the need to use any of this with a headless CMS and graphql.

Collapse
 
jamesthomson profile image
James Thomson

Out of curiosity, what headless CMS are you using? Any articles you can recommend on this sort of stack? I've been very interested in giving GraphQL a go.

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀
Collapse
 
obbap profile image
paschal

Nice, that works also. The requirements of the application will justify how much a state management library is needed. Is there a repository for your shop ?

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

I can't share the shops sorry it's unde private control. But that is the vux stuff. If you are interested in my portfolio in Vue with graphcm I can share this WIP