You Yuxi Vue 2022 Review and 2023 Outlook

Produced | OSC Open Source Community (ID: oschina2013)

You Yuxi, the author of Vue, recently published an article reviewing Vue’s 2022 and looking forward to the development of the project in 2023.

In February 2022, the default version of Vue switched to 3.x; the latest stable version is Vue 3.2.45 released in November. According to You Yuxi, this shift marks the readiness of all official parts of the v3 framework, including major revisions to the documentation that provides the latest best practice guidelines. However, it is still in the transition period of the ecosystem migrating to Vue 3. So after the switch, the development team is more focused on improving Vue’s developer experience by investing in tools; including actively participating in the development of Vite, making major improvements to Vue’s IDE and TypeScript support through the release of Volar 1.0, etc.

Data shows that NPM usage for Vue 3 will grow by nearly 200% during 2022. In terms of community, the Vue 3 ecosystem has also matured. Both Nuxt 3 and Vuetify 3 will reach a stable state in November 2022, and NativeScript for Vue 3 recently launched a beta version. But many users are stuck with Vue 2 due to the cost of migrating. Therefore, the Vue team decided to move the source code of Vue 2 to TypeScript and back-ported some of the most important Vue 3 features in Vue 2.7; as well as ensuring that Vite, Vue Devtools, and Volar all support both Vue 2 and Vue 3.

With the release of the last Vue 2 minor version (2.7), You Yuxi said that it expects to launch the release of Vue 3 core features at full speed in 2023. Improvements will also be made in terms of release cadence, with Vue following semver; expect to roll out more features faster in 2023 with smaller, more frequent minor releases.

This also means that the content in version 3.3 will be adjusted, and the experimental Suspense and Reactivity Transform still need further discussion, “and they should not hinder the implementation of other more immediate functions.” Currently, the goal of 3.3 is to land proposed/planned features that no longer require RFC discussion, such as support for externally imported types in <script setup> macros.

In the meantime, go further to evaluate Suspense and Reactivity Transform readiness, evaluate outstanding user-submitted RFCs and feature requests, and publish RFCs for features intended to be implemented in 3.4 and later (such as SSR lazy hydration). More details will be released later this month.

You Yuxi revealed that there are no plans to make major, breakthrough changes to Vue in the foreseeable future.

Additionally, they are working on a compilation strategy called Vapor Mode, inspired by Solid. This strategy compiles Vue SFCs into JavaScript output, which is more performant, uses less memory, and requires less runtime support code than existing virtual DOM0-based output. Currently, Vapor Mode is still in its early stages.

For more details, please check the full text of the blog: https://ift.tt/tY7ZH4D

The text and pictures in this article are from the OSC open source community

loading.gif

This article is transferred from https://www.techug.com/post/youyuxi-vue-2022-review-and-2023-prospecta53bcd96a224ccaf319f/
This site is only for collection, and the copyright belongs to the original author.