-
性能提升:
- 打包大小减少 41%
- 初次渲染快 55%, 更新渲染快 133%
- 内存减少 54%
- 使用 Proxy 代替 defineProperty 实现数据响应式
- 重写虚拟 DOM 的实现和 Tree-Shaking
-
新增特性
- Composition (组合) API
- setup
- ref 和 reactive
- computed 和 watch
- 新的生命周期函数
- provide 与 inject
- ...
-
新组件
- Fragment - 文档碎片
- Teleport - 瞬移组件的位置
- Suspense - 异步加载组件的 loading 界面
-
其它 API 更新
- 全局 API 的修改
- 将原来的全局 API 转移到应用对象
- 模板语法变化
forked from marlonchiu/atguigu_TS_Vue3
-
Notifications
You must be signed in to change notification settings - Fork 0
[尚硅谷 Vue3+TS](https://24kcs.github.io/vue3_study/)
amyyo/atguigu_TS_Vue3
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Releases
No releases published
Packages 0
No packages published
Languages
- Vue 43.9%
- TypeScript 35.6%
- JavaScript 10.6%
- HTML 7.3%
- CSS 2.6%