Vue3学习笔记
Vue3.0六大亮点
Performance:性能比Vue 2.x快1.2~2倍
Tree shaking support:按需编译,体积比Vue 2.x更小
Composition API:组合API(类似React Hooks)
Better TypeScript support:更好的Ts支持
Custom Renderer API:暴露了自定义渲染API
Fragment,Teleport(Protal),Suspense:更先进的组件
Vue 3.0是如何变快的
diff方法优化:
Vue2
原创
2021-03-01 10:07:07 ·
292 阅读 ·
0 评论