Making web with WordPress and Vue.js. Co-founder of GOMO https://www.gomo.pt/
This is so true! I’m a Vue.js enthusiast and I see this argument being used all the time when comparing Vue with React, as if because Facebook is actively maintaining the React library it will make it better than anything or…
Hey Iñigo! thanks for your response!Yes, you need to create one empty mutation in your vuex module/store:
//...mutations: { initUser( state ) {},},//...
On your example, you added as an action, and it should be a mutation.
Thank you Carlos for sharing this.
I totally agree with you! Sometimes it’s even easier to do it ourselves than to try to use someone’s plugin/component and adapt it to our own project.
Hi Jason, thank you for your input!I wrote this article to show that sometimes it’s faster to write our own code to quickly solve a requirement than to rely on a plugin where overhead is expected and some learning is needed. Flexibility and options have always a price.Nevertheless, thank you for getting back.
Hi Michael, thank you for your response. Good to know some persist data plugins have those options to reduce the data that is stored.
Nice tips, thank you!
I must say that one of the most important piece of advice in your story is to start using Vuex from day one! I avoided it in the beginning to avoid more complexity and I regretted. Vuex is fairly simple to learn and start using it.
React, like Vue solve a problem better than Angular. The only issue with React is that it’s a Facebook creation, with all the unethical issues and scandals that come with it.
I don’t understand this “need” of endless profit growth. Unless it’s greed or the “markets” demand.
I’m tired of the Apple prices so this year I replaced my iPhone 6 for an Android (OP6) and I must say I’m very satisfied. Btw, for half of the cost of one iPhone. I don’t value the features gap between the two by the cost difference.
Thank you for your reply!I also believe Vue.js will take over React one day. Vue.js has all the benefits of React, but it’s easier to start with and progress.