Live data from Hacker News

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

10clouds.com

21–30 of 142 posts

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

#21
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…

Wrong. Vue has jsx aswell.

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

#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.

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

#23

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…

Vue isnt more all in one than react.

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

#24

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.

Confirming this, same logic for Angular

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

#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.

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

#26
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…

Vue does have JSX backend, so your argument is not really valid

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

#27
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…

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://github.com/wisercoder/uibuilder

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

#28
post #19

for what it's worth I will say that writing components in Vue is enjoyable in the way that React was initially. the two are definitely more similar than either is to Angular, but I find Vue slightly more easy to get started with (no JSX overhead). JSX is far more powerful than simple HTML templates but I rarely find myself needing that power.

As a reminder, you don't have to use JSX to use React. JSX is just a wrapper that makes it more elegant but you can just use the React API to create and declare element structures.

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

#29
Nope. React has 10 people in its core team, highly compensated to work on React. There is at least one genius among those 10. Think of Fiber and how it works. VueJS may copy that model but in this sense, as in the case with JSX, they're a follower. They are not a thought leader. Just a sink/collector for React haters.

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

#30
post #15
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.

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.
Post reply on HN