DEV Community

Discussion on: React or Angular or Vue.js or Others ??

Collapse
 
patryktech profile image
Patryk

I'd go with Vue, personally.

React is the more sought after one, but IMAO JSX is an abomination. Vue is pure JavaScript, which i find much more elegant. It's also the easiest to learn by far.

I don't have enough experience with angular, but I'd probably still try that second, before react lol.

If you do go with Vue, you can add the composition API to your project, and make it ready for Vue 3... It's designed with enterprise apps in mind.

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

Vue isn't pure JavaScript, but also templating language.

Angular also has templating language.

But React, and also JSX is pure JavaScript, and is very compatible with TypeScript. Also, if you don't want JSX, you can use lit-html which is just tagged-template-literals. That is also why CSS-in-JS makes sense. (Yeah, I know there was a discussion.)

I used to hate JSX too, but I changed my mind.

I do find React too heavy weight though. Might try Preact or webcomponents.

Collapse
 
patryktech profile image
Patryk

Ok, let me rephrase that.

JSX takes HTML, CSS, and JavaScript, throws it into a blender, and gives you a horrible goop.

Vue.js has a nice separation of concerns, with Styling (CSS, SASS, Stylus), HTML, and pure JavaScript being separate.

You can like JSX; I am not a believer that everyone should do things my way, but I do have my personal preferences.