This year’s network framework heat

This year, React. Js passed jQuery as the most commonly used Web framework.

Network framework

Newcomer Svelte tops the list as the most popular framework. React is the most needed and wanted by a quarter of developers.

React, Vue, Svelte JS framework design ideas

React is a runtime framework. After data changes, React does not directly manipulate dom. Instead, it generates a new so-called virtual DOM, which helps us solve cross-platform and compatibility problems, and obtains the minimum operation behavior through diff algorithm. All of this is done at run time.

So, Vue is a framework that makes a good tradeoff between runtime and precompilation. It retains the virtual DOM, but controls the granularity of the virtual DOM in a responsive manner. In precompilation, it makes enough performance optimizations to update the virtual DOM on demand.

It’s really hot these daysSvelte, is a typical recompile framework, as developers we just need to write templates and data, afterSvelteCompile and preprocess, the code will be basically all parsed into nativeDOMOperation,SveltePerformance is also closest to nativejs.

  • Scheduler — The priority of a scheduled task, with priority given to higher-priority tasks

  • Reconciler — Diff the Reconciler by calling Render to generate the virtual Dom and find the changed virtual Dom

  • Renderers — are responsible for receiving Reconciler notifications and rendering the changing components in the current hosting environment, such as browsers, which have different renderers for different hosting environments.