r/webdev • • Sep 26 '18

The Solo JavaScript Developer Challenging Google and Facebook

https://www.wired.com/story/the-solo-javascript-developer-challenging-google-facebook/
65 Upvotes

23 comments sorted by

View all comments

38

u/koprulu_sector Sep 26 '18

My perspective is that Vue seems to be what developers who prefer object oriented programming choose, while React is more popular for those that are open to exploring a functional approach. Neither is better or worse - it’s preference.

Personally, I think Vue’s fast rise and gaining popularity are almost a backlash resulting from developers wanting/needing a new framework and not wanting to go the functional route, or relearn MVC as just V.

7

u/[deleted] Sep 26 '18

I love both and really enjoy working with both for different reasons. But I always think of them (probably incorrectly) as being solutions to different questions.

React seems like a software engineering team wanted to use all the power and elegance of JS as a programming language to dynamically generate a front end.

Vue, on the other hand, seems to start from the front end (html/css) and work back from there into the JS.

Vue uses a very html-like syntax and builds CSS styles into its components in a very straightforward way, where JSX reads a lot more like vanilla ES6, and CSS in React is still kind of an afterthought (I like where CSS in JS is taking things, personally, but it still feels like we haven't quite reached the best solution yet).

Because of this, I do think Vue is the less intimidating option, but its creator also had the benefit of seeing the early versions of React and Angular and leapfrogging over some of their awkwardness. React 16 is a huge improvement over previous versions. And my hope is that all this back and forth between these frameworks will push them both to just keep getting better and better.