Live data from Hacker News

Will Vue.js become a giant like Angular or React?

10clouds.com

41–50 of 142 posts

Re: Will Vue.js become a giant like Angular or React?

#41
post #25
post #16

It's a bit disingenuous to say that Facebook uses Vue for Newsfeed. It's on a marketing site, not on a performance and business critical part of the site. These marketing sites are very often built by contractors, not FB engineers, and tend to be one off efforts. Not to knock Vue, but it weakens the message when deliberately misleading info like this is used

A comment on the linked article actually mentions that it was indeed contracted. Very disingenuous indeed by the article's writer.

Right, it's just as valid (that is to say it is not at all) to claim that this comment thread uses Vue since it discusses it. YCombinator runs Hacker News on Vue now!

It's a shame since it's otherwise a well written article

Re: Will Vue.js become a giant like Angular or React?

#42
post #5

Having used all three, it feels like Vue.js will grow to occupy the role that React occupies today. That, or React will (smartly) take on some of Vue's core features like single component files with actual HTML, CSS, and JavaScript in them. Vue is far easier to start with yet feels more powerful too. Angular 2+ is a separate animal for larger teams, so will probably remain for that use case.

React components can have markup, styles and logic in one file. Seems like the only thing Vue brings to the table in this respect is yet another templating pseudolang.

Re: Will Vue.js become a giant like Angular or React?

#43

After being burned really badly by Ember and Meteor, I'm probably never going to use tools that are all-in-ones ever again. With React I get something laser-focused, just does 1 thing well and that's it. With Vue, I have to buy into the entire ecosystem. I don't want to experience what I did with ember and meteor ever again in my professional life. I think about all the great developers I've worked with and I looked…

Out of curiosity, how did Ember and Meteor burn you so hard and why are you so averse to "all-in-one" tools as a result?

A typical all-in-one framework is Ruby on Rails. It is great to quickly start a project that does basic things planned for by the framework.

But as your project grows, and you start to need special, custom things (and you inevitably do), you understand the "Rails" part. You have to move along the rails. This leads to a growing number of ugly hacks, just to keep the whole thing within one framework. The problem is that you can't replace one component you want different. Everything is cross-dependent, aka "integrated".

In the long term, libraries rock, and monolithic frameworks suck. But in the beginning, the lure of a monolithic framework us strong.

Re: Will Vue.js become a giant like Angular or React?

#44
post #15

Earlier quoted context omitted.

it always amazes me how one person project such as vuejs and laravel can compete against with the frameworks made by giants such as google and facebook. yes there are more developers involved in vuejs and laravel now but the two main authors are still the king to rule these two extremely popular projects, truly amazing.

That's also why taking on Vue is a huge risk. The project has a high bus factor. If the main author burnt out and quit, the project is dead.

It definitely is not because not only are there other contributors but Alibaba and Monterail have also made meaningful contributions (the former also developing an analog to React-Native but with Vue).

Re: Will Vue.js become a giant like Angular or React?

#45

The only advantage React has is a huge backer..Facebook. So large companies are more open to using it because it's less risk and has higher chance of being around in 5 years than a framework without a huge backer. That's my theory on how 'biz' people make I.T. decisions.

Another aspect is lower ramp up time for hiring new developers, and easier convincing developers to come on board where they'll learn / use a growing technology rather than some oddball niche thing.

They're solid, non-arbitrary reasons. Given a choice between the most common tech on the market and a niche offering, you need to have a good reason to choose the niche offering, because it comes with real downsides to a development team (as opposed to an individual developer).

Re: Will Vue.js become a giant like Angular or React?

#46
post #11

Vue.js is a step backwards, relative to React, in my opinion. What I love about React is JSX (or TSX if using TypeScript). JSX is a combination of JavaScript and HTML syntaxes. You don't need to learn a new syntax in order to incorporate loops and conditionals in the view layer, thanks to JSX: you just use JavaScript. More importantly, you get compile-time verification. If you use a JavaScript variable in JSX and som…

FWIW, Angular templates are also checked at compile time. (But you're not wrong about the advantages of JSX -- as you observe Angular has its own syntax for looping etc.)

Re: Will Vue.js become a giant like Angular or React?

#47
post #22

I went Angular, because I can get a well paid job very easily, it's a very fun Framework to work with, TypeScript is awesome, it's complete, fast and powerful, is backed by Google and has a huge community. Vue might be fun to work with, but it doesn't have all the advantages of Angular (or React) I listed above.

You can use TypeScript with Vue without trouble. It is true for employabilty. It will/may come later.

Re: Will Vue.js become a giant like Angular or React?

#48
post #27

Earlier quoted context omitted.

I love React but you're completely wrong here. Vue has JSX support as well https://github.com/vuejs/babel-plugin-transform-vue-jsx . JSX isn't a React thing anymore. Most Virtual DOM solutions offer JSX. Styling React components is a huge pain. What I like about Vue is the awesome styles, HTML and js in one file for each component. With React projects I have a completely seperate styles folder.

The documentation for view.js seems to highlight a custom syntax that cannot be verified at compile-time: https://vuejs.org/v2/guide/#Conditionals-and-Loops If you are interested in HTML, JavaScript and Styles in one component you really want Web Components. React and view.js support components but they are brittle. W3 Web Components (implemented by Chrome and Safari) solve this problem. More on that here: https://gi…

Vue templates are verified at compile time (don't know where you got that from), and static analysis is planned for the future (which isn't directly possible with JSX): https://medium.com/@youyuxi/pretty-good-comparison-overall-b...

There are two distributions of Vue, one in which templates are precompiled (this is the default and recommended build), and one bundling the runtime template compiler. You are most likely thinking of the latter.

Re: Will Vue.js become a giant like Angular or React?

#49
post #20

After being burned really badly by Ember and Meteor, I'm probably never going to use tools that are all-in-ones ever again. With React I get something laser-focused, just does 1 thing well and that's it. With Vue, I have to buy into the entire ecosystem. I don't want to experience what I did with ember and meteor ever again in my professional life. I think about all the great developers I've worked with and I looked…

While react is perfectly capable of being mixed freely with vanilla js, you'll likely find that once you start down the react path and build up a library of components, it starts to make sense to do your project 100% in react.

that's not what they mean - they're talking about how ember/meteor etc prescribe how to do everything in the application, like routing, etc - with react you have your pick of routing libraries or can roll your own

Re: Will Vue.js become a giant like Angular or React?

#50

After being burned really badly by Ember and Meteor, I'm probably never going to use tools that are all-in-ones ever again. With React I get something laser-focused, just does 1 thing well and that's it. With Vue, I have to buy into the entire ecosystem. I don't want to experience what I did with ember and meteor ever again in my professional life. I think about all the great developers I've worked with and I looked…

I understand where you're coming from. However, Vue isn't an "all-in-one" or "batteries included" library. Vue is just a view layer. It fills the same layer of the stack that React does.
Post reply on HN