menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Frontend Cafe

A community for discussing frontend engineering news, best practices, and new technologies.

Channels
Team

Why Vue.js is gaining so ๐Ÿ”ฅ heat these days?

June 16, 2018 at 1:36pm

Why Vue.js is gaining so ๐Ÿ”ฅ heat these days?

June 16, 2018 at 1:36pm

June 16, 2018 at 1:55pm
From none technical view, i believe cause its not released by giant company like Facebook. Ofc it have it own technical reasons, but i think it's the case as well.
like-fill
2
Having used both Vue and React, they share a lot of similarities. Both encourage you to think about your interfaces as isolated components that receive props and may manage some local state. Both allow you to use JSX if you like. Both are really great tools!
In my experience, Vue introduces you to the concepts more gently. The default templating feels similar to Angular, with it's v- directives. Building your components using the Vue object will feel familiar if you have experience with Ember, Backbone or similar MV* frameworks.
React is definitely more simple. It provides only what's necessary and gives you (nearly) complete freedom over how you use it. But that simplicity can sometimes be frustrating if you're looking for guidance on the right way to do something. Vue is slightly more opinionated, but I've felt that it's opinions help guide towards doing things the right way, which can allow you to be more productive in the long run. Plus the Vue documentation has always been great; very clear and easy to understand! Though React's documentation has improved a lot recently.
All that said, I'm not sure I have an opinion on which is better but Vue definitely deserves the popularity it's gained. To me, it feels like the better tool if the visual design of your app is more complex. When you're focusing on markup and styling, having everything in one .vue file is a great experience! Still, you can certainly accomplish all the same things with React. With Vue, you get a few more things out of the box and a bit more guidance and structure. Personally, there are times when I value that structure more than the freedom I get from React.
like-fill
5

June 19, 2018 at 10:03am
It's really good. Vuex is a lovely state library. And I say that as someone who writes React and Redux code all day.
like-fill
1

June 19, 2018 at 5:53pm
From my experience using both its the easy if usage and the fact that I feel it's more friendly to begginers and makes people feel more productive mainly because of how amazing their docs are!
I use it mostly for small projects because it feels faster mainly with forms and use react for bigger projects not that they can't be interchangeable
like-fill
1
This is a very balanced and honest description Dalton, thanks
like-fill
1