Hacker News new | ask | show | jobs
by condescendence 2902 days ago
>You’ll be adding similar boilerplate for computed properties, component state, watchers, etc. Pretty much everything in Vue has its own special syntax with more boilerplate.

I kinda like this syntax, when I first learned vuejs I knew immediately that some magic was going on in the background. If I saw marko's syntax I'd be wondering how this shit is getting done. It also makes it easier when searching for issues or suggestions. "vuejs computed property" vs searching generic terms.

>Chat based community

This part is simply not true, there's tons of individual vuejs communities all pretty decent. Shoot me for saying this but laracast isn't a bad option for Vue help. Everytime I have an obscure problem I find a solution on there.

>The reactivity system will only track changes under certain conditions. Don’t expect to throw anything you wish at it

This is the one part I hate about vue.

>Does this mean authentication logic goes in Vuex too? Will a state manager start mediating all application logic now?

Been there done that. I typically use vuejs for lightweight applications solely because I do run into this issue.

4 comments

Could you recommend two or three non-chat based communities? I'm just starting to try Vue and the first handful of tutorials I've tried simply don't work as described.
I'm always interested when people say that tutorials don't work - I had a site planned called wrongtutorial.com but I couldn't work out how to make it funny/informative without being demeaning.

What tutorial are you using? How old is it? What didn't work?

From my notes, these two don't work when followed exactly:

https://www.adcisolutions.com/knowledge/how-build-single-pag... https://codeburst.io/full-stack-single-page-application-with...

The first one doesn't build, if I remember correctly, and the second doesn't display anything after about the halfway point. I'm running them on MacOS.

I tried a couple of others with similar issues, but didn't save the URLs.

when Vue went from 1.0 to 2.0 a lot of functionality became deprecated. So all those tutorials are basically useless now. I ran into the same issue.

Vue 2->3 won't be so bad because they're promising backwards compatibility.

>>The reactivity system will only track changes under certain conditions. Don’t expect to throw anything you wish at it

>This is the one part I hate about vue.

Haven't used Vue for a while, but if I recall correctly it will only track changes on keys defined in the original data object. Is that what you and the parent are referring to?

Angular has similar problems, it is dangerous to replace an array rather than replace the elements of an array for example.

Don't know how vue compares with this but for angular beginners this is a very common mistake.

I hadn't heard of laracast until starting Vue development a few weeks ago.

The quality of answers were so low I found myself longing for the days of expertsexchange.com.

Why did laracast get so popular for Vue? What was wrong with Stack Overflow?

AFAIK Vue got a big popularity boost when Laravel's lead dev posted https://twitter.com/taylorotwell/status/590281695581982720

Then the Laravel ecosystem adopted it widely, and a good Vue.js tutorial series was published on Laracasts (which also happens to host the official Laravel forum)

Hence the close link with Vue and the Laravel community.

What are some of those good communities? Seriously asking, no sarcasm.
I don't know why people are knocking the vue forum. I find it comprehensive with fast response.