Vue 3.4 has been launched. The improve to the JavaScript front-end framework encompasses a sooner, rewritten template parser and a refactored reactivity system.
Introduced December 28, 2023, Vue 3.4 guarantees “substantial inner enhancements.” Most notable is the rewritten template parser, which makes use of a state-machine tokenizer in htmlparser2 that iterates by means of the complete template string simply as soon as. The result’s a parser twice as quick for templates of all sizes, Vue creator Evan You wrote within the weblog publish asserting the discharge. Together with the parser, SFC construct efficiency has been improved.
Additionally featured in Vue 3.4 is a considerable refactor of the reactivity system, with a purpose of re-compute effectivity of computed properties. The discharge additionally stabilizes defineModel
, a brand new <script setup>
macro supposed to simplify the implementation of parts that assist the v-model
. Different options in Vue.js 3.4 embody improved hydration mismatch error messages, the addition of a manufacturing error reference web page to Vue documentation, and the elimination of deprecated options comparable to the worldwide JSX
namespace and Reactivity Remodel.
Vue is billed as a progressive, incrementally adaptable JavaScript framework for constructing person interfaces on the internet. Vue 2.0, launched in 2016, reached finish of life on December 31, 2023.
Copyright © 2024 IDG Communications, Inc.