May 31, 2021 Article blog
3. 3. Performance optimization
4. 4. Better TypeScript integration
5. 5. New API for handling large-scale use cases
7. 7.the purpose of the design of the create-api
8. 8. Performance improvement (relative to Vue2)
The article comes from the public number: Frontman Author: Ghost Brother
On September 18, 2020,
Vue.js 3.0
was officially released.
The release framework itself brings several big improvements, as well as some summaries of features and journeys!
Become an easy-to-reach framework for anyone to learn quickly
The Vue 3.0 kernel can still be used with a simple '' label, but its internal structure has been completely rewritten as a set of decoupled modules. The new architecture provides better maintainability and allows end users to shake trees to reduce runtime size by half.
1. Compiler supports custom AST conversions for build-time customization (e.g., build-time i18n)
2. The core runtime provides
API
for creating custom renderers for different rendering targets, such as native
本机移动设备
WebGL
or
终端
The default
DOM
renderer is built using the same API.
3. The features exported by the
@vue/reactivity
module have direct access to
Vue
reaction system and can be used as a stand-alone package.
It can be paired with other template solutions, such as
lit-html
and can even be used in non-UI scenarios.
Designed to address the difficulties that Vue uses in large applications. The Composition API is built on a reactive API that enables logical composition and reuse similar to React hooks, more flexible code organization patterns, and more reliable type inference than the 2.x object-based API.
Grammar sugar used to use the Composition API in the SFC
State-driven CSS variables in SFC
They are planned to be focused in the fourth quarter of 2020. Therefore, users planning to migrate existing v2 applications or who need IE11 support should be aware of these limitations at this time.
Above is
W3Cschool编程狮
about Vue 3.0 official release, this release of all the summary, let's see!
Related to the introduction, I hope to help you.