State of Vue 2022: Amsterdam recap
source link: https://dev.to/strift/state-of-vue-2022-amsterdam-recap-36jp
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Since v3.0 became the default this February, Vue 3 adoption has grown steadily. NPM downloads have known a 4x increase to reach an average of 800k/week.
Since then, the Vue 3 team has been at work on fixing issues with v3 and improving the SFC playground. Meanwhile, the ecosystem is finally catching up. Let's recap what Evan You discussed during the State of the Vuenion talk in Amsterdam two weeks ago.
Table of contents
State of the ecosystem
Nuxt 3
One of the most anticipated release is probably that of Nuxt 3. Currently in Release Candidate stage, the framework is nearing stability. It seems safe enough to start migrating your development environment. Since the conference, NuxtLabs released RC4—check out the release notes.
The Nuxt team has announced that Nuxt v3 should release this summer.
Related: A few weeks ago, the team released v2 of @nuxt/content—it supports Nuxt 3!
Vuetify 3
The Material Design framework is currently in beta. The third beta release has been available for a fortnight. Read the release notes.
VitePress 1
The Vue team has long been dog-fooding VitePress with the new Vue.js docs. To prepare for the v1.0 release, core team member Kia worked on a providing a higher-level API for end users. VitePress is now the recommended solution for Vue 3-powered Static Site Generation. Read the docs.
However, discussion remains on the name and the coexistence with VuePress. Simply put, the question is whether VitePress should replace VuePress 3 or not.
Volar
Johnson Chu, developer of the Volar VS Code extension joined the Vue.js core team. There are brighter days ahead for IDE tooling as the maintainer of the extension is now sponsored by Vue.
This is a welcome news. With the integration of TypeScript, setup syntax, compile-time macros, and Nuxt 3 auto-imports, tooling is now paramount.
What's coming for Vue?
Back-porting features to Vue 2.7
Vue 2.7 aims at back-porting the built-in composition API, the <script setup>
syntax, and the improvements to TypeScript support to Vue 2.x. As of writing, the composition API has been fully ported, and the team is working on porting <script setup>
.
Regarding the latter, the team aims at making vue/compiler-sfc adhere to the same interface as its Vue 3 counterpart. The goal is to make it compatible with vue-loader
16+ and @vitejs/plugin-vue
so as to unify loaders across Vue 2 and Vue 3.
Vue 2.7 will be the last minor release of Vue 2.x. It will have 18 months of LTS starting from the 2.7 stable release. Companies can notify interest for extended supported via this link.
Next minor version: Vue 3.3
In v3.3, we should expect a stabilized API for <Suspense>
. The Vue team is collaborating with the Nuxt team that is heavily testing the feature in Nuxt 3. Stability should also come for the reactivity transforms API.
Finally, the teams keeps on improving server-side rendering with lazy/conditional hydration and better warnings about SSR mismatch.
A note on Vite 3
The next major of Vite is in development. Although the updates can be considered minor, many will introduce breaking changes. Still, those will be invisible for most end users. Only tools that use Vite directly will need to update, eg. Nuxt, Vitest, etc.
The biggest internal update is moving Vite itself to full ESM and thus dropping support for Node.js 12. The server-side rendering build will now default to ESM output. With these changes, Vite aims to forward the ecosystem migration to ES modules. Also, Vite will now use esbuild for both dev and prod bundling, to reduce friction when deploying.
Experimental: new compilation strategies
⚠️ This is experimental and may never land.
The team has started experimenting with a new compilation strategy inspired by SolidJS. The idea is moving to a no-virtual DOM approach. This will significantly improve memory usage on top of reducing the runtime size.
Although the adoption strategies aren’t clear — that is, if these changes ever release — this would be a great step into transitioning Vue into a more compiler-oriented framework.
A that’s a wrap!
Follow @StriftCodes on Twitter for more Vue content. You can watch the original talk on YouTube and get the slides here.
Cheers,
Recommend
-
85
KotlinConf on Twitter: "We're excited to announce that KotlinConf 2018 will take place this year in Europe. See you in Amsterdam on October 3rd to 5th!" Don’t miss what’s happeningPeople on Twitter are the first to kn...
-
47
This week I will speak at Microsoft Ignite – The Tour conference happening at Amsterdam. I have presentations on both days and I’m pushing here t...
-
22
DetailsIt has been a while since we created this meetup, so it is about time to meet and share some emacs tricks! Let's have the first our first Emacs users meetup!The agenda will consist of 3 short talks, with a break in...
-
0
Media Workflowing to Europe: IBC 2022 in Amsterdam Preview August 31, 2022 by Jeremy Milk //
-
4
See what you missed at .NET Conf 2022 about .NET MAUI, and get an update on the state of .NET MAUI..NET Conf 2022 has already happened! So it’s important that you know all this news so that you can implement new features in your apps. In th...
-
1
State of the Vuenion 2023: A Recap of Evan You’s Address at Vue.js Amsterdam 2023 For those lucky enough to attend Vue.js Amsterdam 2023 in person, you know what an amazing experience it was! The excitement was tangible. Expert presente...
-
4
Vue.js Amsterdam 2023 – A Recap of the Two-Day Event Vue.js Amsterdam 2023 was an exciting two-day technology conference that took place on 9th and 10th February 2023 in Amsterdam, Netherlands. The event brought together creators, exper...
-
4
Ted Lasso takes a revealing trip to Amsterdam [Apple TV+ recap]
-
2
Vue 3 X Web3: Vue.js Forge Episode 4 Recap Did you know you could build web 3 applications with Vue.js? Well now it’s confirmed and it isn’t as complicated as we all think it is. This was confirmed at the just ended Vue.js Forge...
-
1
Yesterday, WordPress co-founder Matt Mullenweg and Gutenberg Lead Architect Matías Ventura took the stage in Madrid, Spain and offered the WordPress community a recap of 2023’s progress as well as a look...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK