close
  • In chevron_right

    Vue 3.2 promises speed boost

    pubsub.slavino.sk / infoworldcom · Wednesday, 11 August, 2021 - 18:16 edit

Vue 3.2, a new release of the popular JavaScript framework, offers better performance as well as improvements to single file components and web components. Vue 3.2 was announced on August 5.

With the upgrade, Vue’s reactivity system , which is intended to simplify state management , gains a more efficient ref implementation, faster dependency tracking, and lower memory usage. Performance of the template compiler also has been improved, with faster creation of Vnodes (virtual nodes). A new v-memo directive provides the ability to “memoize” part of the template tree. A v-memo hit lets Vue skip virtual DOM diffing and the creation of new Vnodes altogether. This capability can improve performance in certain scenarios, such as large v-for lists.

To read this article in full, please click here


Značky: #Vue, #Rozne, #JavaScript

  • In chevron_right

    Angular, React, Vue: JavaScript frameworks compared

    pubsub.slavino.sk / infoworldcom · Thursday, 11 February, 2021 - 11:00 edit

When considering React, Angular, and Vue, the first thing to note is that they carry the same notion at their cores: data binding. The idea here is that the framework assumes the work of tying the state of the application to the active elements of the interface. Each framework has its own idioms for accomplishing this, but it is the increased clarity of design in state-driven data binding that distinguishes this generation of frameworks from the previous one.

This kind of automatic state-driven architecture is sometimes referred to as a reactive system.

[ Also on InfoWorld: The most valuable software developer skills to get hired now ]

State-driven components

Figure 1 describes how state manifestation is handled without such frameworks. Figure 2 describes how it is handled with the frameworks.

To read this article in full, please click here


Značky: #React, #Angular, #Vue, #JavaScript, #Rozne