DEV Community

Discussion on: React vs Vue vs Angular vs Svelte

Collapse
 
stefanovualto profile image
stefanovualto

Hi Henry,

I mostly agree with the point 1,2,3.

But point 4 is subjective depending on your background and previous knowledge. To improve your post, you should add a note explaining what's your background.

Finally point 5 are not similar at all. The vue example is a complete page using a reactive property.

Anyway as @johnpapa said in a talk, you can achieve almost the same result with any framework, pick the one which feels right for you... :)

Collapse
 
hb profile image
Henry Boisdequin

Yes, I agree with you! I would recommend anyone to learn the framework which feels right for you.

For the Vue example, I'm not an expert at Vue and don't know a better way to do it (if you have a smaller, more concise 'hello world' example, please comment it).

I will definitely work an a 'what's my background section'. To explain it know: I've been using React in all my web dev projects. I have basic knowledge of Vue, Angular, and Svelte. After looking at these 5 factors, I plan to use Svelte for my coming projects.

Thanks, @stefanovualto for the feedback!

Collapse
 
mzaini30 profile image
Zen

I'm usually using Svelte for my projects. Because, it's simple, write less, and get more

Collapse
 
cwraytech profile image
Christopher Wray • Edited

In the Vue example you are using data components. For the others just plain html. You could have a Vue component with a template of just the h1 tag and no script. It would look more like the svelte example.

Thread Thread
 
hb profile image
Henry Boisdequin

Thread Thread
 
stefanovualto profile image
stefanovualto • Edited

In your vue example, I think that you should expect to be in a .vue file lik le it seems to be in the others (I mean that you have the whole bundling machinery working under the hood). Then something similar would be:

<template>
    <h1>Hello world!</h1>
</template>
Enter fullscreen mode Exit fullscreen mode

Maybe a pro' for vue is that it can be adopted/used progressively without having to rely on building process (which I am assuming are mandatory for react, svelte and maybe angular). What I mean is that your previous example worked, but it wasn't comparable to the others.