Hacker News new | ask | show | jobs
by netforay 3521 days ago
Yes it is. Even though you are comparing two different libraries that does different things, vue.js is easy then jquery. Because it is much smaller in it's api. What it does is very simple and clear to understand.

I am using vue.js and vuex in some of my current projects. Only problem for me is that after adding Vuex and all it's getters, mutations and actions, my Vue component code now looks like lot of boilerplate code. Did any one else had that feeling. Is there any way I can directly connect vue template with vuex without intermediate component?

1 comments

You can mutate the state from within your components. Vuex doesn't prevent that. It just makes maintainability more difficult.