Open JohnNashs opened 2 years ago
https://johnnashs.github.io/2020/11/04/Vue2VsVue3/
总结一下vue3.0带来的部分新特性 setup() ref() reactive() isRef() toRefs() computed() watch() LifeCycle Hooks(新的生命周期) Template refs globalProperties Suspense vue2与vue3的对比 对TypeScript支持不友好(所有属性都放在了this对象上,难以推到组件的数
https://johnnashs.github.io/2020/11/04/Vue2VsVue3/
总结一下vue3.0带来的部分新特性 setup() ref() reactive() isRef() toRefs() computed() watch() LifeCycle Hooks(新的生命周期) Template refs globalProperties Suspense vue2与vue3的对比 对TypeScript支持不友好(所有属性都放在了this对象上,难以推到组件的数