Skip to content

amyyo/atguigu_TS_Vue3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

atguigu_TS_Vue3

文档教程

尚硅谷 Vue3+TS

Vue3

  • 性能提升:

    • 打包大小减少 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 转移到应用对象
    • 模板语法变化

Releases

No releases published

Packages

No packages published

Languages

  • Vue 43.9%
  • TypeScript 35.6%
  • JavaScript 10.6%
  • HTML 7.3%
  • CSS 2.6%