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 presenters shared info packed talks and a sold out venue provided great networking opportunities.
The event also claims the honor of being the first conference that creator of Vue.js, Evan You, has attended in person since the Covid pandemic. In this article, let me share a quick recap of what Evan shared during his talk at Vue.js Amsterdam 2023.
Last time Evan was on the stage in Amsterdam, Vue 3 was not at stable release. Now at the beginning of 2023, adoption for Vue 3 has now tripled. The vast majority of these projects are probably new projects.
Volar 1.0 was a major milestone in providing comprehensive TypeScript support for Vue SFCs (single file components). vue-tsc also now supports watch mode and supports emmiting type declarations for SFCs. Both of these accomplishments mean TypeScript support for SFCs that’s on parity with that for .ts files. Big shout out to Johnson Chu for this!
Many UI frameworks and other tooling now has support for Vue 3. Nuxt 3 provides a great SSR experience with tons of convenient conventions. VueUse is chock full of useful composables.
Many features of Vue 3 have been backported to Vue 2 in the latest minor release. So if you have to remain on Vue 2 for some reason, you won’t be missing out too much for the time being.
What does 2023 look like for the core Vue library? Here are the key points:
rollup-plugin-esbuild
The original plan for 3.3 was to ship a stable suspense and reactivity transform. However, plans have changed no to focus on low hanging fruits like external type support in script setup macros, safe teleport, and other type improvements. Plus, the experimental reactivity transform feature will be dropped (deprecation warnings in 3.3 and removed in 3.4, though you can still use it via an external package if desired).
Perhaps most exciting, at least to me, is the reactive props de-structure feature.
In Q2 a number of improvements related to SSR are planned. This includes several things. One, finalizing suspense. Two, introducing lazy hydration for better performance. This includes ideas like only hydrating components above the fold, or on mouse hover, and so on. Three, have a way to mark some bindings as ssr only, so no work is required during hydration. And lastly better hydration error warnings, which sounds amazing 🤩.
Vapor mode is the focus for the second half of the year and there is sooo much potential in this feature! It’s a feature inspired by Solid.js and intends to improve performance. Here are the highlights:
MyComponent.vapor.vue
)import {createAp} from “vue/vapor”
)Besides addressing what’s coming in Vue core, Evan also briefly reviewed what’s coming up for other parts of the Ecosystem. Here’s a quick breakdown:
Vue is an amazing piece of software but it’s always important to appreciate the people behind it. Evan and the whole team have clearly worked hard to provide a clear path moving forward and speaking for myself at least, I can’t wait to see the plans become reality.
Our goal is to be the number one source of Vue.js knowledge for all skill levels. We offer the knowledge of our industry leaders through awesome video courses for a ridiculously low price.
More than 200.000 users have already joined us. You are welcome too!
© All rights reserved. Made with ❤️ by BitterBrains, Inc.