Vue is in the process of a complete overhaul that rebuilds the popular JavaScript framework from the ground up. This has been going on the last couple of years and, at long last, the API and implementation of Vue 3 core are now stabilize. This is exciting for a number of reasons:
- Vue 3 promises to be much more performant than Vue 2.
- Despite being a complete rewrite, the surface API hasn’t changed drastically, so there’s no need to forget what you already know about Vue.
- The Vue documentation was completely migrated revised. (If you see me celebrating that, it’s because I helped work on it.)
- There are several new features — like the Composition API (inspired by React Hooks) — that are additive and helpful for composition between multiple components.
Here’s how you can get your hands on the Vue 3 release candidate:
- Play with it on CodePen, or include it with a script using
https://unpkg.com/vue@next
. - Start a project using Vite with
npm init vite-app hello-vue3
. Vite comes with<script setup>
and<style vars>
support in single file components. - There is a Vue CLI pull request you can track.
There is more information about DevTools, experimental features and more in the release notes.
Docs updates, now in beta
Why am I so excited about the Vue doc updates? Because the updates include but are not limited to:
- A migration guide to help you navigate between versions
- A brand new accessibility section
- A deep dive on the Composition API
- An overhaul of the API docs
- A revision of the Reactivity section, including animated explainers.
- A new guide on contributing to Vue
- A major revision of the Transitions section, including a new Overview section.
We are still actively working on things, of course, so if you see to-dos or unresolved work, please let us know! Feel free to open an issue or PR over at GitHub but, please, note that large requests will likely be closed out while we’re still refining our current work.
All in all we think you’ll enjoy it! It’s all the features you know and love, with some extra lovely bits, plus excellent performance.
The post Vue 3.0 has entered Release Candidate stage! appeared first on CSS-Tricks.
You can support CSS-Tricks by being an MVP Supporter.
source https://css-tricks.com/vue-3-0-has-entered-release-candidate-stage/
No comments:
Post a Comment