Live data from Hacker News

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

10clouds.com

31–40 of 142 posts

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

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

He's definitely not wrong. Vue.js supports and promotes templates (e.g. right on the very "get started" page the homepage links to: https://vuejs.org/v2/guide/#Conditionals-and-Loops) with yet another NIH looping and conditional syntax. Perhaps it's possible to avoid - but that kind of flexibility simply encourages messy codebases.

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

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

Styled components solves this problem very nicely

https://github.com/styled-components/styled-components

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

#34

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 really don't think Vue is an all-in-one. It handles the UI side and the binding and rendering, but is otherwise the least opinionated of any framework I've seen with regard to how you structure and write the rest of your JS. It's much more like the Backbone and Underscore days, except even less opinionated and boilerplate-heavy.

Vue is the antithesis of Angular 1 in that sense. No stupid ontology of inane design patterns - no services, no providers, no factories, none of that mandatory crapola.

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

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

I think Vue will maybe kill Ember, but not React.

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

#37

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.

The "corporate backing" argument is the same as one that people use to justify using Windows rather than Linux. It's not wrong per se, but it's far from telling the whole story; there are some huge and popular projects that didn't have a large corporate sponsor at the beginning.

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

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

Laravel is built on top of Symfony components, though.

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

#39
post #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

Does Google use Angular for its main products?

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

#40
post #8

Everything has already been said in the article, but there's one thing that makes Vue stand out the most: The author(s) are really focused on keeping this framework's API simple and getting rid of/deprecating stuff that doesn't promote productivity.

How is this different from React?
Post reply on HN