2021 is very different from previous years. Many web frameworks have released their new versions. Let's discuss them.
For example, React, Vue and Preact all belong to this category.
This is also the most mature framework. Their advantages are mature, stable and suitable for most scenarios.
With SSR and partial hydration, react 18's fizz renderer is very interesting.
In addition, such as concurrent mode, scheduling optimization has been discussed for many years.
Fre is a little soldier in this camp. It is the smallest but the fastest.
Svelte, solidjs belongs to this category.
I always think that the web does not need to be optimized to the extreme, but the code architecture needs to be pursued unilaterally.
So I prefer Svelte a bit. Compilation and runtime should not coexist, which will make the framework more messy and mediocre.
Solidjs and Vue3 do not do this well. They have compilation and want to runtime. They can't have both fish and bear's paw.
History is reversing，recently, some frameworks want to return to HTML, away from vdom and away from compilation.
Such as Qwikjs and Alpinejs. They are enhancing HTML, Sprinkling intead of Hydration.
This does fill a part of the cake, but the performance will be lost. For example, alpine has always ranked last in the benchmark.
I like all three ideas. How about you?
Using one of them is entirely determined by my work.