I’m pretty sure I can use Javascript based Javascript. Article to understand if you need to make a choice or if you have mastered the dyn n n n
If you don’t have time to read the whole article
We came to the conclusion that performance does not matter, unlike others. So:
- React is a similar framework for most. It combines a balance of simplicity and a huge number of community users;
- Vue.js and Svelte are the easiest, but not yet as popular as React;
- Angular is a great choice for those who have built from backend to frontend.
What do these frameworks have in common?
oichiya play p,
All of them:
- correct the source code;
- interest for web development;
- extend the power of HTML to allow the use of loops and conditions;
- components for encapsulation;
- allow you to create single-page applications (SPA);
- up-to-date command line (CLI);
- comfortable development environment with support for debugging in volume;
- used by VS Code as the default IDE;
- have high performance.
Performance
There are enough reviews on the net that one of the frameworks is slower than the others. It turns out that such an opinion is lego, living in each of the four subjects, and it leads to thoughts about everything only? But what are direct tests? Let’s look at the benchmark results.
As you can see from the table, Svelte is the fastest, followed by Vue, then Angular and React. To be honest, these results surprised us somewhat.
In a young sai, you can find out the productivity of frameworks in synthetic t and s. In the event of problems, no living person will notice absolutely no difference.
From this we conclude that the choice of a framework only for performance does not matter.
What then to look for when choosing? Let’s look for really significant deviations.
Slim
Svelte is different from the rest, it can even be called a framework with a stretch, it compiles more. It does not include all applications to fulfill the purposes, as the rest do. Instead, each time on request, Svelte runs the compiler on SERVER, requires the page, and sends. Thanks to this, reducing the “cost” of loading the entire framework before loading the istravo
By the way, those who work specifically with Svelte have high salaries for high salaries.
Advantages
Svelte is loved enough by developers to be understandable. It’s not the kids who hold in high regard companies like Google or Microsoft, at the origins of the framework, open to the generic and charismatic Rich Harris, who was recently hired by Vercel to work exclusively on Svelte.
The framework has a number of cool features that others do not, such as inline animation. At the same time, it doesn’t have enough features like a form validator or reactivity.
Flaws
Svelte Feeling of a slightly raw product. There are problems with the solution of the problem, which you have to look for on Github.
And this is not the only problem. For example, Svelte uses previously compiled styles, which means that they cannot be changed. The documentation contains the missing and does not always give the necessary results.
The community that unites Svelte is not very large, albeit fanatical.
come
Vue developer Evan Yu was a programmer at Google who wanted to create a simpler alternative. a real geek, he quit his job with his framework. But what exactly
Advantages
Like Svelte and React, the Vue framework stores all components in a single file, divided into three parts: