r/javascript • u/rk06 • Apr 05 '16
Vue.js, the real Angular 2.0
https://medium.com/@brett.marshall/vue-js-the-real-angular-2-0-62744490cb99#.m7hsrwxrt1
u/metric152 Apr 05 '16
ng2 is verbose but it's also pretty powerful. I have zero experience with vue.js but I have a feeling once you need to start doing really in depth stuff it will be harder in vue because of it's lightweight nature.
1
u/rk06 Apr 06 '16
I have a feeling once you need to start doing really in depth stuff it will be harder in vue because of it's lightweight nature.
it is a common misconception. vue can be used for large SPA
the key point here is for vue is a progressive framework. if you want a router, you need to add vue-router library, if you want redux, then add vuex, if you want something not available in vue's ecosystem, then use a npm library.
while angular comes with its router and other facilities which you can use directly though may not need in some cases. while vue comes with minimal stuff, you need every time and rest has to be installed separately.
1
u/rk06 Apr 06 '16
if truth be told, real problem of angular 2 is not that it is verbose. but that it is needlessly verbose. aurelia, famously, is as powerful as ng2 but is quite minimal and less intrusive. moreover, it is widely known that rob -- creator of aurelia-- raised those issues with angular team before he started aurelia.
2
u/phpdevster Apr 05 '16
Fucking hell that Angular 2 setup is grotesque....
Angular 2 looks like it will be sitting squarely in enterprise-land while most sites will find an easier time getting stuff done in Vue.
2
u/NeuroXc Apr 05 '16
I'm still using Angular 1 for new projects because I feel like Angular 2 just introduces more stuff that I need to remember, half of which is boilerplate. Plus, the size of Angular 2's vendor code is absurd, even in the latest betas. Adding in RxJS, which Angular 2 strongly pushes on you, only exacerbates both of these issues.
1
u/wishinghand Apr 05 '16
Doesn't Angular 1 and 2 provide a full MVC? Is Vue not just the view, similar to React?
0
Apr 05 '16
[deleted]
1
u/rk06 Apr 06 '16
js is actually xml, not html. though i personally believe jsx is not hard. it is simply different from html. when people say jsx is weird they clearly forget that html is weird for newcomers as well.
9
u/placidified Apr 05 '16
How is Vue.js the real Angular 2 ? There was no real argumentation in the article other than that Vue reminded the author of Angular.
Also TypeScript isn't a requirement to use React at all.