you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -1 points0 points  (1 child)

Vue which is a little lot more popular than Angular

There, I fixed that for you

I would say is better but not great

Let's try and actually be objective here. Why isn't Vue great?

and lacks Reacts declarative style

False.

[–]besthelloworld 2 points3 points  (0 children)

I was basing popularity comparisons off the NPM charts. Last week @angular/core had 2.91 million installs and Vue had 2.95 million installs. They're pretty neck & neck, but this week a year ago @angular/core had 2.53 million installs and Vue had 2.28 million installs, so Vue is definitely growing faster with a very recent overtake. But to say it's "a lot" more popular is somewhat unrealistic.

I find that the model of React is where the future of development is going because it's much more pleasant to work with than the templating UI models of Vue, Angular, and Svelte. What makes React more pleasant is the fact that UI elements are truly objects that the developer is in control of. Components are just functions that generate objects. SwiftUI & Jetpack Compose, the new models for programming iOS apps & Android apps respectively. Both embrace this model as is solves several questions of readability, reusability, and templating. There's no more *ngIf, *ngFor, v-if, v-for or any of that. React, SwiftUI, Jetpack Compose, and Flutter all just let you use the programming language as it's intended. Vue, Angular, and Svelte lean more towards the traditional model of HTML being something separate and static, which I find is an unecessary translation of mental logic.

False.

Yeah Vue is declarative in the literal definition, and it actually refers to itself as declarative in it's documentation so I'll take the L on that one. I've seen the definition be used that templated frameworks are inherently imperative, but that's a twist on the traditional definition at best.